UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

71 lines (70 loc) 3.19 kB
/** * 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 Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling. * @export * @interface IoK8sApiCoreV1RBDPersistentVolumeSource */ export interface IoK8sApiCoreV1RBDPersistentVolumeSource { /** * fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd * @type {string} * @memberof IoK8sApiCoreV1RBDPersistentVolumeSource */ fsType?: string; /** * image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it * @type {string} * @memberof IoK8sApiCoreV1RBDPersistentVolumeSource */ image: string; /** * keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it * @type {string} * @memberof IoK8sApiCoreV1RBDPersistentVolumeSource */ keyring?: string; /** * monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it * @type {Array<string>} * @memberof IoK8sApiCoreV1RBDPersistentVolumeSource */ monitors: Array<string>; /** * pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it * @type {string} * @memberof IoK8sApiCoreV1RBDPersistentVolumeSource */ pool?: string; /** * readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it * @type {boolean} * @memberof IoK8sApiCoreV1RBDPersistentVolumeSource */ readOnly?: boolean; /** * * @type {IoK8sApiCoreV1SecretReference} * @memberof IoK8sApiCoreV1RBDPersistentVolumeSource */ secretRef?: IoK8sApiCoreV1SecretReference; /** * user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it * @type {string} * @memberof IoK8sApiCoreV1RBDPersistentVolumeSource */ user?: string; } export declare function IoK8sApiCoreV1RBDPersistentVolumeSourceFromJSON(json: any): IoK8sApiCoreV1RBDPersistentVolumeSource; export declare function IoK8sApiCoreV1RBDPersistentVolumeSourceFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiCoreV1RBDPersistentVolumeSource; export declare function IoK8sApiCoreV1RBDPersistentVolumeSourceToJSON(value?: IoK8sApiCoreV1RBDPersistentVolumeSource | null): any;