mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
* 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
78 lines
1.7 KiB
TypeScript
Generated
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>;
|
|
}
|
|
|