Class CSIVolumeSource

    • Constructor Detail

      • CSIVolumeSource

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

      • getDriver

        public String getDriver()
        driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.
      • setDriver

        public void setDriver​(String driver)
        driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.
      • getFsType

        public String getFsType()
        fsType to mount. Ex. "ext4", "xfs", "ntfs". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply.
      • setFsType

        public void setFsType​(String fsType)
        fsType to mount. Ex. "ext4", "xfs", "ntfs". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply.
      • getNodePublishSecretRef

        public LocalObjectReference getNodePublishSecretRef()
        Represents a source location of a volume to mount, managed by an external CSI driver
      • setNodePublishSecretRef

        public void setNodePublishSecretRef​(LocalObjectReference nodePublishSecretRef)
        Represents a source location of a volume to mount, managed by an external CSI driver
      • getReadOnly

        public Boolean getReadOnly()
        readOnly specifies a read-only configuration for the volume. Defaults to false (read/write).
      • setReadOnly

        public void setReadOnly​(Boolean readOnly)
        readOnly specifies a read-only configuration for the volume. Defaults to false (read/write).
      • getVolumeAttributes

        public Map<String,​String> getVolumeAttributes()
        volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values.
      • setVolumeAttributes

        public void setVolumeAttributes​(Map<String,​String> volumeAttributes)
        volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values.
      • getAdditionalProperties

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

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

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