kubernetes-models
Version:
35 lines (34 loc) • 2.01 kB
TypeScript
import { IIoK8sApiCoreV1SecretReference } from "./SecretReference";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* 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 ICinderPersistentVolumeSource {
/**
* 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
*/
"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
*/
"readOnly"?: boolean;
/**
* secretRef is Optional: points to a secret object containing parameters used to connect to OpenStack.
*/
"secretRef"?: IIoK8sApiCoreV1SecretReference;
/**
* volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
*/
"volumeID": string;
}
/**
* 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 declare class CinderPersistentVolumeSource extends Model<ICinderPersistentVolumeSource> implements ICinderPersistentVolumeSource {
"fsType"?: string;
"readOnly"?: boolean;
"secretRef"?: IIoK8sApiCoreV1SecretReference;
"volumeID": string;
constructor(data?: ModelData<ICinderPersistentVolumeSource>);
}
export { ICinderPersistentVolumeSource as IIoK8sApiCoreV1CinderPersistentVolumeSource, CinderPersistentVolumeSource as IoK8sApiCoreV1CinderPersistentVolumeSource };