StorageOSPersistentVolumeSource class

Represents a StorageOS persistent volume resource.

Constructors

StorageOSPersistentVolumeSource({Input<String>? fsType, Input<bool>? readOnly, Input<ObjectReference>? secretRef, Input<String>? volumeName, Input<String>? volumeNamespace})
Creates a new StorageOSPersistentVolumeSource. fsType fsType is the 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 readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. secretRef secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. 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.
const
StorageOSPersistentVolumeSource.fromMap(Map<String, dynamic> map)
factory

Properties

fsType → Input<String>?
fsType is the 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.
final
hashCode → int
The hash code for this object.
no setterinherited
readOnly → Input<bool>?
readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secretRef → Input<ObjectReference>?
secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.
final
volumeName → Input<String>?
volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.
final
volumeNamespace → Input<String>?
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.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited