@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
35 lines (34 loc) • 1.45 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 { IoK8sApiCoreV1PodAffinityTerm } from './';
/**
* The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
* @export
* @interface IoK8sApiCoreV1WeightedPodAffinityTerm
*/
export interface IoK8sApiCoreV1WeightedPodAffinityTerm {
/**
*
* @type {IoK8sApiCoreV1PodAffinityTerm}
* @memberof IoK8sApiCoreV1WeightedPodAffinityTerm
*/
podAffinityTerm: IoK8sApiCoreV1PodAffinityTerm;
/**
* weight associated with matching the corresponding podAffinityTerm, in the range 1-100.
* @type {number}
* @memberof IoK8sApiCoreV1WeightedPodAffinityTerm
*/
weight: number;
}
export declare function IoK8sApiCoreV1WeightedPodAffinityTermFromJSON(json: any): IoK8sApiCoreV1WeightedPodAffinityTerm;
export declare function IoK8sApiCoreV1WeightedPodAffinityTermFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiCoreV1WeightedPodAffinityTerm;
export declare function IoK8sApiCoreV1WeightedPodAffinityTermToJSON(value?: IoK8sApiCoreV1WeightedPodAffinityTerm | null): any;