kubernetes-models
Version:
16 lines (15 loc) • 1.07 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.IoK8sApiCoreV1GCEPersistentDiskVolumeSource = exports.GCEPersistentDiskVolumeSource = void 0;
const base_1 = require("@kubernetes-models/base");
const IoK8sApiCoreV1GCEPersistentDiskVolumeSource_1 = require("../_schemas/IoK8sApiCoreV1GCEPersistentDiskVolumeSource.js");
/**
* Represents a Persistent Disk resource in Google Compute Engine.
*
* A GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling.
*/
class GCEPersistentDiskVolumeSource extends base_1.Model {
}
exports.GCEPersistentDiskVolumeSource = GCEPersistentDiskVolumeSource;
exports.IoK8sApiCoreV1GCEPersistentDiskVolumeSource = GCEPersistentDiskVolumeSource;
(0, base_1.setSchema)(GCEPersistentDiskVolumeSource, "io.k8s.api.core.v1.GCEPersistentDiskVolumeSource", IoK8sApiCoreV1GCEPersistentDiskVolumeSource_1.addSchema);