@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
41 lines (40 loc) • 1.78 kB
TypeScript
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: unversioned
*
*
* 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 './';
/**
* EnvVar represents an environment variable present in a Container.
* @export
* @interface IoK8sApiCoreV1EnvVar
*/
export interface IoK8sApiCoreV1EnvVar {
/**
* Name of the environment variable. Must be a C_IDENTIFIER.
* @type {string}
* @memberof IoK8sApiCoreV1EnvVar
*/
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 "".
* @type {string}
* @memberof IoK8sApiCoreV1EnvVar
*/
value?: string;
/**
*
* @type {IoK8sApiCoreV1EnvVarSource}
* @memberof IoK8sApiCoreV1EnvVar
*/
valueFrom?: IoK8sApiCoreV1EnvVarSource;
}
export declare function IoK8sApiCoreV1EnvVarFromJSON(json: any): IoK8sApiCoreV1EnvVar;
export declare function IoK8sApiCoreV1EnvVarFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiCoreV1EnvVar;
export declare function IoK8sApiCoreV1EnvVarToJSON(value?: IoK8sApiCoreV1EnvVar | null): any;