Class StorageOSVolumeSource

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

    public class StorageOSVolumeSource
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    Represents a StorageOS persistent volume resource.
    • Constructor Detail

      • StorageOSVolumeSource

        public StorageOSVolumeSource​(java.lang.String fsType,
                                     java.lang.Boolean readOnly,
                                     LocalObjectReference secretRef,
                                     java.lang.String volumeName,
                                     java.lang.String volumeNamespace)
      • StorageOSVolumeSource

        public StorageOSVolumeSource()
    • Method Detail

      • 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". Implicitly inferred to be "ext4" if unspecified.
      • getReadOnly

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

        public java.lang.String getVolumeName()
        VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.
      • getVolumeNamespace

        public java.lang.String getVolumeNamespace()
        VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to "default" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.
      • 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". Implicitly inferred to be "ext4" if unspecified.
      • setReadOnly

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

        public void setVolumeName​(java.lang.String volumeName)
        VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.
      • setVolumeNamespace

        public void setVolumeNamespace​(java.lang.String volumeNamespace)
        VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to "default" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.
      • 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