@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
47 lines (46 loc) • 2.31 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 { IoK8sApiCoreV1SecretReference } from './';
/**
* Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.
* @export
* @interface IoK8sApiCoreV1CinderPersistentVolumeSource
*/
export interface IoK8sApiCoreV1CinderPersistentVolumeSource {
/**
* fsType Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
* @type {string}
* @memberof IoK8sApiCoreV1CinderPersistentVolumeSource
*/
fsType?: string;
/**
* readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
* @type {boolean}
* @memberof IoK8sApiCoreV1CinderPersistentVolumeSource
*/
readOnly?: boolean;
/**
*
* @type {IoK8sApiCoreV1SecretReference}
* @memberof IoK8sApiCoreV1CinderPersistentVolumeSource
*/
secretRef?: IoK8sApiCoreV1SecretReference;
/**
* volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
* @type {string}
* @memberof IoK8sApiCoreV1CinderPersistentVolumeSource
*/
volumeID: string;
}
export declare function IoK8sApiCoreV1CinderPersistentVolumeSourceFromJSON(json: any): IoK8sApiCoreV1CinderPersistentVolumeSource;
export declare function IoK8sApiCoreV1CinderPersistentVolumeSourceFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiCoreV1CinderPersistentVolumeSource;
export declare function IoK8sApiCoreV1CinderPersistentVolumeSourceToJSON(value?: IoK8sApiCoreV1CinderPersistentVolumeSource | null): any;