@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
38 lines (37 loc) • 1.45 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.
*/
/**
*
* @export
* @interface V1beta1SpreadOptions
*/
export interface V1beta1SpreadOptions {
/**
* Across optionally defines how to spread vCPUs across the guest visible topology. Default: SocketsCores
* @type {string}
* @memberof V1beta1SpreadOptions
*/
across?: string;
/**
* Ratio optionally defines the ratio to spread vCPUs across the guest visible topology:
*
* CoresThreads - 1:2 - Controls the ratio of cores to threads. Only a ratio of 2 is currently accepted. SocketsCores - 1:N - Controls the ratio of socket to cores. SocketsCoresThreads - 1:N:2 - Controls the ratio of socket to cores. Each core providing 2 threads.
*
* Default: 2
* @type {number}
* @memberof V1beta1SpreadOptions
*/
ratio?: number;
}
export declare function V1beta1SpreadOptionsFromJSON(json: any): V1beta1SpreadOptions;
export declare function V1beta1SpreadOptionsFromJSONTyped(json: any, _ignoreDiscriminator: boolean): V1beta1SpreadOptions;
export declare function V1beta1SpreadOptionsToJSON(value?: V1beta1SpreadOptions | null): any;