CinderVolumeSource 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
- CinderVolumeSource({String? fsType, bool? readOnly, LocalObjectReference? secretRef, required String volumeID})
-
Default constructor.
const
-
CinderVolumeSource.fromJson(Map<
String, dynamic> json) -
Creates a CinderVolumeSource 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. 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 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 → LocalObjectReference?
-
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 CinderVolumeSource instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited