Class VolumeAttachmentSource

    • Constructor Detail

      • VolumeAttachmentSource

        public VolumeAttachmentSource()
        No args constructor for use in serialization
    • Method Detail

      • getInlineVolumeSpec

        public PersistentVolumeSpec getInlineVolumeSpec()
        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.
      • setInlineVolumeSpec

        public void setInlineVolumeSpec​(PersistentVolumeSpec inlineVolumeSpec)
        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.
      • getPersistentVolumeName

        public String getPersistentVolumeName()
        persistentVolumeName represents the name of the persistent volume to attach.
      • setPersistentVolumeName

        public void setPersistentVolumeName​(String persistentVolumeName)
        persistentVolumeName represents the name of the persistent volume to attach.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)