@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
41 lines (40 loc) • 1.44 kB
TypeScript
/**
* 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 { V1CPUFeature, V1beta1SpreadOptions } from './';
/**
* CPUPreferences contains various optional CPU preferences.
* @export
* @interface V1beta1CPUPreferences
*/
export interface V1beta1CPUPreferences {
/**
* PreferredCPUFeatures optionally defines a slice of preferred CPU features.
* @type {Array<V1CPUFeature>}
* @memberof V1beta1CPUPreferences
*/
preferredCPUFeatures?: Array<V1CPUFeature>;
/**
* PreferredCPUTopology optionally defines the preferred guest visible CPU topology, defaults to PreferSockets.
* @type {string}
* @memberof V1beta1CPUPreferences
*/
preferredCPUTopology?: string;
/**
*
* @type {V1beta1SpreadOptions}
* @memberof V1beta1CPUPreferences
*/
spreadOptions?: V1beta1SpreadOptions;
}
export declare function V1beta1CPUPreferencesFromJSON(json: any): V1beta1CPUPreferences;
export declare function V1beta1CPUPreferencesFromJSONTyped(json: any, _ignoreDiscriminator: boolean): V1beta1CPUPreferences;
export declare function V1beta1CPUPreferencesToJSON(value?: V1beta1CPUPreferences | null): any;