@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
37 lines (36 loc) • 1.75 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 { IoK8sApiCoreV1Toleration } from './';
/**
* Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.
* @export
* @interface IoK8sApiNodeV1Scheduling
*/
export interface IoK8sApiNodeV1Scheduling {
/**
* nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission.
* @type {{ [key: string]: string; }}
* @memberof IoK8sApiNodeV1Scheduling
*/
nodeSelector?: {
[key: string]: string;
};
/**
* tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.
* @type {Array<IoK8sApiCoreV1Toleration>}
* @memberof IoK8sApiNodeV1Scheduling
*/
tolerations?: Array<IoK8sApiCoreV1Toleration>;
}
export declare function IoK8sApiNodeV1SchedulingFromJSON(json: any): IoK8sApiNodeV1Scheduling;
export declare function IoK8sApiNodeV1SchedulingFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiNodeV1Scheduling;
export declare function IoK8sApiNodeV1SchedulingToJSON(value?: IoK8sApiNodeV1Scheduling | null): any;