CinderPersistentVolumeSource class
Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.
Constructors
- CinderPersistentVolumeSource({String? fsType, bool? readOnly, SecretReference? secretRef, required String volumeID})
-
Default constructor.
const
-
CinderPersistentVolumeSource.fromJson(Map<
String, dynamic> json) -
Creates a CinderPersistentVolumeSource from JSON data.
factory
Properties
- fsType → String?
-
fsType Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- readOnly → bool?
-
readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secretRef → SecretReference?
-
secretRef is Optional: points to a secret object containing parameters used to connect to OpenStack.
final
- volumeID → String
-
volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a CinderPersistentVolumeSource instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited