UNPKG

kubernetes-models

Version:
14 lines (13 loc) 905 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.IoK8sApiStorageV1VolumeAttachmentSource = exports.VolumeAttachmentSource = void 0; const base_1 = require("@kubernetes-models/base"); const IoK8sApiStorageV1VolumeAttachmentSource_1 = require("../../_schemas/IoK8sApiStorageV1VolumeAttachmentSource.js"); /** * VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set. */ class VolumeAttachmentSource extends base_1.Model { } exports.VolumeAttachmentSource = VolumeAttachmentSource; exports.IoK8sApiStorageV1VolumeAttachmentSource = VolumeAttachmentSource; (0, base_1.setSchema)(VolumeAttachmentSource, "io.k8s.api.storage.v1.VolumeAttachmentSource", IoK8sApiStorageV1VolumeAttachmentSource_1.addSchema);