@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
55 lines (54 loc) • 2.11 kB
TypeScript
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: unversioned
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { IoK8sApiCoreV1LocalObjectReference } from './';
/**
* FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.
* @export
* @interface IoK8sApiCoreV1FlexVolumeSource
*/
export interface IoK8sApiCoreV1FlexVolumeSource {
/**
* driver is the name of the driver to use for this volume.
* @type {string}
* @memberof IoK8sApiCoreV1FlexVolumeSource
*/
driver: string;
/**
* fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
* @type {string}
* @memberof IoK8sApiCoreV1FlexVolumeSource
*/
fsType?: string;
/**
* options is Optional: this field holds extra command options if any.
* @type {{ [key: string]: string; }}
* @memberof IoK8sApiCoreV1FlexVolumeSource
*/
options?: {
[key: string]: string;
};
/**
* readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
* @type {boolean}
* @memberof IoK8sApiCoreV1FlexVolumeSource
*/
readOnly?: boolean;
/**
*
* @type {IoK8sApiCoreV1LocalObjectReference}
* @memberof IoK8sApiCoreV1FlexVolumeSource
*/
secretRef?: IoK8sApiCoreV1LocalObjectReference;
}
export declare function IoK8sApiCoreV1FlexVolumeSourceFromJSON(json: any): IoK8sApiCoreV1FlexVolumeSource;
export declare function IoK8sApiCoreV1FlexVolumeSourceFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiCoreV1FlexVolumeSource;
export declare function IoK8sApiCoreV1FlexVolumeSourceToJSON(value?: IoK8sApiCoreV1FlexVolumeSource | null): any;