Class FlexVolumeSource

  • All Implemented Interfaces:
    com.marcnuri.yakc.model.Model

    public class FlexVolumeSource
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.
    • Constructor Detail

      • FlexVolumeSource

        public FlexVolumeSource​(@NonNull
                                @NonNull java.lang.String driver,
                                java.lang.String fsType,
                                java.util.Map<java.lang.String,​java.lang.String> options,
                                java.lang.Boolean readOnly,
                                LocalObjectReference secretRef)
      • FlexVolumeSource

        public FlexVolumeSource()
    • Method Detail

      • getDriver

        @NonNull
        public @NonNull java.lang.String getDriver()
        Driver is the name of the driver to use for this volume.
      • getFsType

        public java.lang.String getFsType()
        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 java.util.Map<java.lang.String,​java.lang.String> getOptions()
        Optional: Extra command options if any.
      • getReadOnly

        public java.lang.Boolean getReadOnly()
        Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
      • setDriver

        public void setDriver​(@NonNull
                              @NonNull java.lang.String driver)
        Driver is the name of the driver to use for this volume.
      • setFsType

        public void setFsType​(java.lang.String fsType)
        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.
      • setOptions

        public void setOptions​(java.util.Map<java.lang.String,​java.lang.String> options)
        Optional: Extra command options if any.
      • setReadOnly

        public void setReadOnly​(java.lang.Boolean readOnly)
        Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object