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})
The main constructor.
const
CinderPersistentVolumeSource.fromJson(Map<String, dynamic> json)
Creates a CinderPersistentVolumeSource from JSON data.

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

Static Methods

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