StorageOSVolumeSource

case
class StorageOSVolumeSource(fsType: Optional[String], readOnly: Optional[Boolean], secretRef: Optional[LocalObjectReference], volumeName: Optional[String], volumeNamespace: Optional[String])

Represents a StorageOS persistent volume resource.

Value Params
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.

readOnly

Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.

volumeName

VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.

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.

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def getFsType: IO[K8sFailure, String]

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.

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.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

def getReadOnly: IO[K8sFailure, Boolean]

Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.

Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets secretRef.

Gets secretRef.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

def getVolumeName: IO[K8sFailure, String]

VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.

VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

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.

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.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product