@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
53 lines (52 loc) • 2.6 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 { IoK8sApiCoreV1ObjectReference } from './';
/**
* Represents a StorageOS persistent volume resource.
* @export
* @interface IoK8sApiCoreV1StorageOSPersistentVolumeSource
*/
export interface IoK8sApiCoreV1StorageOSPersistentVolumeSource {
/**
* fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
* @type {string}
* @memberof IoK8sApiCoreV1StorageOSPersistentVolumeSource
*/
fsType?: string;
/**
* readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
* @type {boolean}
* @memberof IoK8sApiCoreV1StorageOSPersistentVolumeSource
*/
readOnly?: boolean;
/**
*
* @type {IoK8sApiCoreV1ObjectReference}
* @memberof IoK8sApiCoreV1StorageOSPersistentVolumeSource
*/
secretRef?: IoK8sApiCoreV1ObjectReference;
/**
* volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.
* @type {string}
* @memberof IoK8sApiCoreV1StorageOSPersistentVolumeSource
*/
volumeName?: string;
/**
* volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to "default" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.
* @type {string}
* @memberof IoK8sApiCoreV1StorageOSPersistentVolumeSource
*/
volumeNamespace?: string;
}
export declare function IoK8sApiCoreV1StorageOSPersistentVolumeSourceFromJSON(json: any): IoK8sApiCoreV1StorageOSPersistentVolumeSource;
export declare function IoK8sApiCoreV1StorageOSPersistentVolumeSourceFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiCoreV1StorageOSPersistentVolumeSource;
export declare function IoK8sApiCoreV1StorageOSPersistentVolumeSourceToJSON(value?: IoK8sApiCoreV1StorageOSPersistentVolumeSource | null): any;