Files
odo/ui/src/app/api-gen/model/devstateContainerPostRequest.ts
Philippe Martin e59cfa8852 [ui] Complete container creation (#7035)
* API returns more info about container

* Display more info about containers

* Update UI static files

* Fix unit tests

* Get/Set sources configuration

* [ui] create container with sources mount configuration

* e2e tests + ui static files

* Set containers's envvars

* Regenerate UI static files

* Add Annotation to POST /container

* [api] Create Container with Annotations

* [ui] Annotations when creating container

* Regenerate UI static files

* [api] Endpoints when adding container

* [ui] Endpoints when adding container

* Regenerate UI static files
2023-08-29 09:28:03 +02:00

78 lines
1.7 KiB
TypeScript
Generated

/**
* odo dev
* API interface for \'odo dev\'
*
* The version of the OpenAPI document: 0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { Endpoint } from './endpoint';
import { VolumeMount } from './volumeMount';
import { Env } from './env';
import { Annotation } from './annotation';
export interface DevstateContainerPostRequest {
/**
* Name of the container
*/
name: string;
/**
* Container image
*/
image: string;
/**
* Entrypoint of the container
*/
command?: Array<string>;
/**
* Args passed to the Container entrypoint
*/
args?: Array<string>;
/**
* Environment variables to define
*/
env?: Array<Env>;
/**
* Requested memory for the deployed container
*/
memReq?: string;
/**
* Memory limit for the deployed container
*/
memLimit?: string;
/**
* Requested CPU for the deployed container
*/
cpuReq?: string;
/**
* CPU limit for the deployed container
*/
cpuLimit?: string;
/**
* Volume to mount into the container filesystem
*/
volumeMounts?: Array<VolumeMount>;
/**
* If false, mountSources and sourceMapping values are not considered
*/
configureSources?: boolean;
/**
* If true, sources are mounted into container\'s filesystem
*/
mountSources?: boolean;
/**
* Specific directory on which to mount sources
*/
sourceMapping?: string;
annotation?: Annotation;
/**
* Endpoints exposed by the container
*/
endpoints?: Array<Endpoint>;
}