Class V1CinderVolumeSource
java.lang.Object
io.kubernetes.client.openapi.models.V1CinderVolumeSource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-18T15:05:57.863601Z[Etc/UTC]")
public class V1CinderVolumeSource
extends Object
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.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
fsType is the filesystem type to mount.readOnly defaults to false (read/write).Get secretRefvolumeID used to identify the volume in cinder.int
hashCode()
secretRef
(V1LocalObjectReference secretRef) void
void
setReadOnly
(Boolean readOnly) void
setSecretRef
(V1LocalObjectReference secretRef) void
setVolumeID
(String volumeID) toString()
-
Field Details
-
SERIALIZED_NAME_FS_TYPE
- See Also:
-
SERIALIZED_NAME_READ_ONLY
- See Also:
-
SERIALIZED_NAME_SECRET_REF
- See Also:
-
SERIALIZED_NAME_VOLUME_I_D
- See Also:
-
-
Constructor Details
-
V1CinderVolumeSource
public V1CinderVolumeSource()
-
-
Method Details
-
fsType
-
getFsType
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- Returns:
- fsType
-
setFsType
-
readOnly
-
getReadOnly
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- Returns:
- readOnly
-
setReadOnly
-
secretRef
-
getSecretRef
Get secretRef- Returns:
- secretRef
-
setSecretRef
-
volumeID
-
getVolumeID
volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md- Returns:
- volumeID
-
setVolumeID
-
equals
-
hashCode
public int hashCode() -
toString
-