UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

35 lines (34 loc) 1.42 kB
/** * 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. */ import { K8sIoApiCoreV1PodAffinityTerm } from './'; /** * The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) * @export * @interface K8sIoApiCoreV1WeightedPodAffinityTerm */ export interface K8sIoApiCoreV1WeightedPodAffinityTerm { /** * * @type {K8sIoApiCoreV1PodAffinityTerm} * @memberof K8sIoApiCoreV1WeightedPodAffinityTerm */ podAffinityTerm: K8sIoApiCoreV1PodAffinityTerm; /** * weight associated with matching the corresponding podAffinityTerm, in the range 1-100. * @type {number} * @memberof K8sIoApiCoreV1WeightedPodAffinityTerm */ weight: number; } export declare function K8sIoApiCoreV1WeightedPodAffinityTermFromJSON(json: any): K8sIoApiCoreV1WeightedPodAffinityTerm; export declare function K8sIoApiCoreV1WeightedPodAffinityTermFromJSONTyped(json: any, _ignoreDiscriminator: boolean): K8sIoApiCoreV1WeightedPodAffinityTerm; export declare function K8sIoApiCoreV1WeightedPodAffinityTermToJSON(value?: K8sIoApiCoreV1WeightedPodAffinityTerm | null): any;