UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

47 lines (46 loc) 2.27 kB
/** * 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 { IoK8sApimachineryPkgApisMetaV1DeleteOptions, IoK8sApimachineryPkgApisMetaV1ObjectMeta } from './'; /** * Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/<pod name>/evictions. * @export * @interface IoK8sApiPolicyV1Eviction */ export interface IoK8sApiPolicyV1Eviction { /** * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources * @type {string} * @memberof IoK8sApiPolicyV1Eviction */ apiVersion?: string; /** * * @type {IoK8sApimachineryPkgApisMetaV1DeleteOptions} * @memberof IoK8sApiPolicyV1Eviction */ deleteOptions?: IoK8sApimachineryPkgApisMetaV1DeleteOptions; /** * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds * @type {string} * @memberof IoK8sApiPolicyV1Eviction */ kind?: string; /** * * @type {IoK8sApimachineryPkgApisMetaV1ObjectMeta} * @memberof IoK8sApiPolicyV1Eviction */ metadata?: IoK8sApimachineryPkgApisMetaV1ObjectMeta; } export declare function IoK8sApiPolicyV1EvictionFromJSON(json: any): IoK8sApiPolicyV1Eviction; export declare function IoK8sApiPolicyV1EvictionFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiPolicyV1Eviction; export declare function IoK8sApiPolicyV1EvictionToJSON(value?: IoK8sApiPolicyV1Eviction | null): any;