UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

35 lines (34 loc) 1.6 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 { IoK8sApiCoreV1PersistentVolumeSpec } from './'; /** * VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set. * @export * @interface IoK8sApiStorageV1VolumeAttachmentSource */ export interface IoK8sApiStorageV1VolumeAttachmentSource { /** * * @type {IoK8sApiCoreV1PersistentVolumeSpec} * @memberof IoK8sApiStorageV1VolumeAttachmentSource */ inlineVolumeSpec?: IoK8sApiCoreV1PersistentVolumeSpec; /** * persistentVolumeName represents the name of the persistent volume to attach. * @type {string} * @memberof IoK8sApiStorageV1VolumeAttachmentSource */ persistentVolumeName?: string; } export declare function IoK8sApiStorageV1VolumeAttachmentSourceFromJSON(json: any): IoK8sApiStorageV1VolumeAttachmentSource; export declare function IoK8sApiStorageV1VolumeAttachmentSourceFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiStorageV1VolumeAttachmentSource; export declare function IoK8sApiStorageV1VolumeAttachmentSourceToJSON(value?: IoK8sApiStorageV1VolumeAttachmentSource | null): any;