StorageOSPersistentVolumeSource class

Represents a StorageOS persistent volume resource.

Constructors

StorageOSPersistentVolumeSource({String? fsType, bool? readOnly, ObjectReference? secretRef, String? volumeName, String? volumeNamespace})
The main constructor.
const
StorageOSPersistentVolumeSource.fromJson(Map<String, dynamic> json)
Creates a StorageOSPersistentVolumeSource from JSON data.

Properties

fsType 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 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 ObjectReference?
SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.
final
volumeName String?
VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.
final
volumeNamespace 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
toJson() Map<String, Object>
Converts a StorageOSPersistentVolumeSource instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

listFromJson(Iterable<Map<String, dynamic>> list) List<StorageOSPersistentVolumeSource>
Creates a list of StorageOSPersistentVolumeSource from JSON data.