@kubernetes/client-node
Version:
NodeJS client for kubernetes
42 lines (41 loc) • 1.36 kB
TypeScript
/**
* 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.
*/
import { V1ExecAction } from '../models/V1ExecAction.js';
import { V1HTTPGetAction } from '../models/V1HTTPGetAction.js';
import { V1SleepAction } from '../models/V1SleepAction.js';
import { V1TCPSocketAction } from '../models/V1TCPSocketAction.js';
/**
* LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified.
*/
export declare class V1LifecycleHandler {
'exec'?: V1ExecAction;
'httpGet'?: V1HTTPGetAction;
'sleep'?: V1SleepAction;
'tcpSocket'?: V1TCPSocketAction;
static readonly discriminator: string | undefined;
static readonly mapping: {
[index: string]: string;
} | undefined;
static readonly attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
format: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
format: string;
}[];
constructor();
}