@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
61 lines (60 loc) • 2.4 kB
TypeScript
/**
* 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 './';
/**
* ComponentConfig defines the scheduling and replicas configuration for CDI components
* @export
* @interface V1beta1ComponentConfig
*/
export interface V1beta1ComponentConfig {
/**
*
* @type {V1Affinity}
* @memberof V1beta1ComponentConfig
*/
affinity?: V1Affinity;
/**
* ApiserverReplicas set Replicas for cdi-apiserver
* @type {number}
* @memberof V1beta1ComponentConfig
*/
apiServerReplicas?: number;
/**
* DeploymentReplicas set Replicas for cdi-deployment
* @type {number}
* @memberof V1beta1ComponentConfig
*/
deploymentReplicas?: number;
/**
* 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 V1beta1ComponentConfig
*/
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 V1beta1ComponentConfig
*/
tolerations?: Array<V1Toleration>;
/**
* UploadproxyReplicas set Replicas for cdi-uploadproxy
* @type {number}
* @memberof V1beta1ComponentConfig
*/
uploadProxyReplicas?: number;
}
export declare function V1beta1ComponentConfigFromJSON(json: any): V1beta1ComponentConfig;
export declare function V1beta1ComponentConfigFromJSONTyped(json: any, _ignoreDiscriminator: boolean): V1beta1ComponentConfig;
export declare function V1beta1ComponentConfigToJSON(value?: V1beta1ComponentConfig | null): any;