@kubernetes/client-node
Version:
NodeJS client for kubernetes
176 lines • 4.49 kB
JavaScript
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* OpenAPI spec version: v1.32.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* An EphemeralContainer is a temporary container that you may add to an existing Pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a Pod is removed or restarted. The kubelet may evict a Pod if an ephemeral container causes the Pod to exceed its resource allocation. To add an ephemeral container, use the ephemeralcontainers subresource of an existing Pod. Ephemeral containers may not be removed or restarted.
*/
export class V1EphemeralContainer {
static getAttributeTypeMap() {
return V1EphemeralContainer.attributeTypeMap;
}
constructor() {
}
}
V1EphemeralContainer.discriminator = undefined;
V1EphemeralContainer.mapping = undefined;
V1EphemeralContainer.attributeTypeMap = [
{
"name": "args",
"baseName": "args",
"type": "Array<string>",
"format": ""
},
{
"name": "command",
"baseName": "command",
"type": "Array<string>",
"format": ""
},
{
"name": "env",
"baseName": "env",
"type": "Array<V1EnvVar>",
"format": ""
},
{
"name": "envFrom",
"baseName": "envFrom",
"type": "Array<V1EnvFromSource>",
"format": ""
},
{
"name": "image",
"baseName": "image",
"type": "string",
"format": ""
},
{
"name": "imagePullPolicy",
"baseName": "imagePullPolicy",
"type": "string",
"format": ""
},
{
"name": "lifecycle",
"baseName": "lifecycle",
"type": "V1Lifecycle",
"format": ""
},
{
"name": "livenessProbe",
"baseName": "livenessProbe",
"type": "V1Probe",
"format": ""
},
{
"name": "name",
"baseName": "name",
"type": "string",
"format": ""
},
{
"name": "ports",
"baseName": "ports",
"type": "Array<V1ContainerPort>",
"format": ""
},
{
"name": "readinessProbe",
"baseName": "readinessProbe",
"type": "V1Probe",
"format": ""
},
{
"name": "resizePolicy",
"baseName": "resizePolicy",
"type": "Array<V1ContainerResizePolicy>",
"format": ""
},
{
"name": "resources",
"baseName": "resources",
"type": "V1ResourceRequirements",
"format": ""
},
{
"name": "restartPolicy",
"baseName": "restartPolicy",
"type": "string",
"format": ""
},
{
"name": "securityContext",
"baseName": "securityContext",
"type": "V1SecurityContext",
"format": ""
},
{
"name": "startupProbe",
"baseName": "startupProbe",
"type": "V1Probe",
"format": ""
},
{
"name": "stdin",
"baseName": "stdin",
"type": "boolean",
"format": ""
},
{
"name": "stdinOnce",
"baseName": "stdinOnce",
"type": "boolean",
"format": ""
},
{
"name": "targetContainerName",
"baseName": "targetContainerName",
"type": "string",
"format": ""
},
{
"name": "terminationMessagePath",
"baseName": "terminationMessagePath",
"type": "string",
"format": ""
},
{
"name": "terminationMessagePolicy",
"baseName": "terminationMessagePolicy",
"type": "string",
"format": ""
},
{
"name": "tty",
"baseName": "tty",
"type": "boolean",
"format": ""
},
{
"name": "volumeDevices",
"baseName": "volumeDevices",
"type": "Array<V1VolumeDevice>",
"format": ""
},
{
"name": "volumeMounts",
"baseName": "volumeMounts",
"type": "Array<V1VolumeMount>",
"format": ""
},
{
"name": "workingDir",
"baseName": "workingDir",
"type": "string",
"format": ""
}
];
//# sourceMappingURL=V1EphemeralContainer.js.map