StorageOSPersistentVolumeSource class
Represents a StorageOS persistent volume resource.
Constructors
- StorageOSPersistentVolumeSource({String? fsType, bool? readOnly, ObjectReference? secretRef, String? volumeName, String? volumeNamespace})
-
Default constructor.
const
-
StorageOSPersistentVolumeSource.fromJson(Map<
String, dynamic> json) -
Creates a StorageOSPersistentVolumeSource from JSON data.
factory
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