UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

43 lines (42 loc) 1.79 kB
/** * KubeVirt Containerized Data Importer API * Containerized Data Importer for KubeVirt. * * 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 { V1Affinity, V1Toleration } from './'; /** * NodePlacement describes node scheduling configuration. * @export * @interface ApiNodePlacement */ export interface ApiNodePlacement { /** * * @type {V1Affinity} * @memberof ApiNodePlacement */ affinity?: V1Affinity; /** * nodeSelector is the node selector applied to the relevant kind of pods It specifies a map of key-value pairs: for the pod to be eligible to run on a node, the node must have each of the indicated key-value pairs as labels (it can have additional labels as well). See https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector * @type {{ [key: string]: string; }} * @memberof ApiNodePlacement */ nodeSelector?: { [key: string]: string; }; /** * tolerations is a list of tolerations applied to the relevant kind of pods See https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ for more info. These are additional tolerations other than default ones. * @type {Array<V1Toleration>} * @memberof ApiNodePlacement */ tolerations?: Array<V1Toleration>; } export declare function ApiNodePlacementFromJSON(json: any): ApiNodePlacement; export declare function ApiNodePlacementFromJSONTyped(json: any, _ignoreDiscriminator: boolean): ApiNodePlacement; export declare function ApiNodePlacementToJSON(value?: ApiNodePlacement | null): any;