@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
28 lines (27 loc) • 1.33 kB
TypeScript
/**
* KubeVirt API
* This is KubeVirt API an add-on for Kubernetes.
*
* The version of the OpenAPI document: 1.0.0
* Contact: kubevirt-dev@googlegroups.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* ExecAction describes a "run in container" action.
* @export
* @interface K8sIoApiCoreV1ExecAction
*/
export interface K8sIoApiCoreV1ExecAction {
/**
* Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
* @type {Array<string>}
* @memberof K8sIoApiCoreV1ExecAction
*/
command?: Array<string>;
}
export declare function K8sIoApiCoreV1ExecActionFromJSON(json: any): K8sIoApiCoreV1ExecAction;
export declare function K8sIoApiCoreV1ExecActionFromJSONTyped(json: any, _ignoreDiscriminator: boolean): K8sIoApiCoreV1ExecAction;
export declare function K8sIoApiCoreV1ExecActionToJSON(value?: K8sIoApiCoreV1ExecAction | null): any;