Class FlexVolumeSource

    • Method Detail

      • getDriver

        public String getDriver()
        driver is the name of the driver to use for this volume.
      • setDriver

        public void setDriver​(String driver)
        driver is the name of the driver to use for this volume.
      • getFsType

        public String getFsType()
        fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
      • setFsType

        public void setFsType​(String fsType)
        fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
      • getOptions

        public Map<String,​String> getOptions()
        options is Optional: this field holds extra command options if any.
      • setOptions

        public void setOptions​(Map<String,​String> options)
        options is Optional: this field holds extra command options if any.
      • getReadOnly

        public Boolean getReadOnly()
        readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
      • setReadOnly

        public void setReadOnly​(Boolean readOnly)
        readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
      • getSecretRef

        public LocalObjectReference getSecretRef()
        FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.
      • setSecretRef

        public void setSecretRef​(LocalObjectReference secretRef)
        FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.
      • getAdditionalProperties

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

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

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