@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
91 lines (90 loc) • 2.91 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 { ApiNodePlacement, V1beta1CDICertConfig, V1beta1CDIConfigSpec, V1beta1ComponentConfig, V1beta1CustomizeComponents } from './';
/**
* CDISpec defines our specification for the CDI installation
* @export
* @interface V1beta1CDISpec
*/
export interface V1beta1CDISpec {
/**
*
* @type {V1beta1CDICertConfig}
* @memberof V1beta1CDISpec
*/
certConfig?: V1beta1CDICertConfig;
/**
* Clone strategy override: should we use a host-assisted copy even if snapshots are available?
* @type {string}
* @memberof V1beta1CDISpec
*/
cloneStrategyOverride?: string;
/**
*
* @type {V1beta1CDIConfigSpec}
* @memberof V1beta1CDISpec
*/
config?: V1beta1CDIConfigSpec;
/**
*
* @type {V1beta1CustomizeComponents}
* @memberof V1beta1CDISpec
*/
customizeComponents?: V1beta1CustomizeComponents;
/**
* PullPolicy describes a policy for if/when to pull a container image
*
* Possible enum values:
* - `"Always"` means that kubelet always attempts to pull the latest image. Container will fail If the pull fails.
* - `"IfNotPresent"` means that kubelet pulls if the image isn't present on disk. Container will fail if the image isn't present and the pull fails.
* - `"Never"` means that kubelet never pulls an image, but only uses a local image. Container will fail if the image isn't present
* @type {string}
* @memberof V1beta1CDISpec
*/
imagePullPolicy?: V1beta1CDISpecImagePullPolicyEnum;
/**
*
* @type {V1beta1ComponentConfig}
* @memberof V1beta1CDISpec
*/
infra?: V1beta1ComponentConfig;
/**
* PriorityClass of the CDI control plane
* @type {string}
* @memberof V1beta1CDISpec
*/
priorityClass?: string;
/**
* CDIUninstallStrategy defines the state to leave CDI on uninstall
* @type {string}
* @memberof V1beta1CDISpec
*/
uninstallStrategy?: string;
/**
*
* @type {ApiNodePlacement}
* @memberof V1beta1CDISpec
*/
workload?: ApiNodePlacement;
}
/**
* @export
* @enum {string}
*/
export declare enum V1beta1CDISpecImagePullPolicyEnum {
Always = "Always",
IfNotPresent = "IfNotPresent",
Never = "Never"
}
export declare function V1beta1CDISpecFromJSON(json: any): V1beta1CDISpec;
export declare function V1beta1CDISpecFromJSONTyped(json: any, _ignoreDiscriminator: boolean): V1beta1CDISpec;
export declare function V1beta1CDISpecToJSON(value?: V1beta1CDISpec | null): any;