/** * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * OpenAPI spec version: * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { V1alpha2DevWorkspaceTemplateSpecParentComponentsItemsPluginComponentsItemsContainerAnnotation } from '../models/V1alpha2DevWorkspaceTemplateSpecParentComponentsItemsPluginComponentsItemsContainerAnnotation'; import { V1alpha2DevWorkspaceTemplateSpecParentComponentsItemsPluginComponentsItemsContainerEndpoints } from '../models/V1alpha2DevWorkspaceTemplateSpecParentComponentsItemsPluginComponentsItemsContainerEndpoints'; import { V1alpha2DevWorkspaceTemplateSpecParentComponentsItemsPluginComponentsItemsContainerEnv } from '../models/V1alpha2DevWorkspaceTemplateSpecParentComponentsItemsPluginComponentsItemsContainerEnv'; import { V1alpha2DevWorkspaceTemplateSpecParentComponentsItemsPluginComponentsItemsContainerVolumeMounts } from '../models/V1alpha2DevWorkspaceTemplateSpecParentComponentsItemsPluginComponentsItemsContainerVolumeMounts'; import { HttpFile } from '../http/http'; /** * Allows adding and configuring devworkspace-related containers */ export class V1alpha2DevWorkspaceTemplateSpecParentComponentsItemsPluginComponentsItemsContainer { 'annotation'?: V1alpha2DevWorkspaceTemplateSpecParentComponentsItemsPluginComponentsItemsContainerAnnotation; /** * The arguments to supply to the command running the dockerimage component. The arguments are supplied either to the default command provided in the image or to the overridden command. Defaults to an empty array, meaning use whatever is defined in the image. */ 'args'?: Array; /** * The command to run in the dockerimage component instead of the default one provided in the image. Defaults to an empty array, meaning use whatever is defined in the image. */ 'command'?: Array; 'cpuLimit'?: string; 'cpuRequest'?: string; /** * Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod. Default value is `false` */ 'dedicatedPod'?: boolean; 'endpoints'?: Array; /** * Environment variables used in this container. The following variables are reserved and cannot be overridden via env: - `$PROJECTS_ROOT` - `$PROJECT_SOURCE` */ 'env'?: Array; 'image'?: string; 'memoryLimit'?: string; 'memoryRequest'?: string; /** * Toggles whether or not the project source code should be mounted in the component. Defaults to true for all component types except plugins and components that set `dedicatedPod` to true. */ 'mountSources'?: boolean; /** * Optional specification of the path in the container where project sources should be transferred/mounted when `mountSources` is `true`. When omitted, the default value of /projects is used. */ 'sourceMapping'?: string; /** * List of volumes mounts that should be mounted is this container. */ 'volumeMounts'?: Array; static readonly discriminator: string | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ { "name": "annotation", "baseName": "annotation", "type": "V1alpha2DevWorkspaceTemplateSpecParentComponentsItemsPluginComponentsItemsContainerAnnotation", "format": "" }, { "name": "args", "baseName": "args", "type": "Array", "format": "" }, { "name": "command", "baseName": "command", "type": "Array", "format": "" }, { "name": "cpuLimit", "baseName": "cpuLimit", "type": "string", "format": "" }, { "name": "cpuRequest", "baseName": "cpuRequest", "type": "string", "format": "" }, { "name": "dedicatedPod", "baseName": "dedicatedPod", "type": "boolean", "format": "" }, { "name": "endpoints", "baseName": "endpoints", "type": "Array", "format": "" }, { "name": "env", "baseName": "env", "type": "Array", "format": "" }, { "name": "image", "baseName": "image", "type": "string", "format": "" }, { "name": "memoryLimit", "baseName": "memoryLimit", "type": "string", "format": "" }, { "name": "memoryRequest", "baseName": "memoryRequest", "type": "string", "format": "" }, { "name": "mountSources", "baseName": "mountSources", "type": "boolean", "format": "" }, { "name": "sourceMapping", "baseName": "sourceMapping", "type": "string", "format": "" }, { "name": "volumeMounts", "baseName": "volumeMounts", "type": "Array", "format": "" } ]; static getAttributeTypeMap() { return V1alpha2DevWorkspaceTemplateSpecParentComponentsItemsPluginComponentsItemsContainer.attributeTypeMap; } public constructor() { } }