UNPKG

kubernetes-models

Version:
29 lines (28 loc) 1.13 kB
import { IIoK8sApiStorageV1beta1VolumeAttachmentSource } from "./VolumeAttachmentSource"; import { Model } from "@kubernetes-models/base"; /** * VolumeAttachmentSpec is the specification of a VolumeAttachment request. */ export interface IVolumeAttachmentSpec { /** * Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName(). */ "attacher": string; /** * The node that the volume should be attached to. */ "nodeName": string; /** * Source represents the volume that should be attached. */ "source": IIoK8sApiStorageV1beta1VolumeAttachmentSource; } /** * VolumeAttachmentSpec is the specification of a VolumeAttachment request. */ export declare class VolumeAttachmentSpec extends Model<IVolumeAttachmentSpec> implements IVolumeAttachmentSpec { "attacher": string; "nodeName": string; "source": IIoK8sApiStorageV1beta1VolumeAttachmentSource; } export { IVolumeAttachmentSpec as IIoK8sApiStorageV1beta1VolumeAttachmentSpec, VolumeAttachmentSpec as IoK8sApiStorageV1beta1VolumeAttachmentSpec };