Class V1StorageOSPersistentVolumeSource
java.lang.Object
io.kubernetes.client.openapi.models.V1StorageOSPersistentVolumeSource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-12-05T08:14:34.919Z[Etc/UTC]")
public class V1StorageOSPersistentVolumeSource
extends Object
Represents a StorageOS persistent volume resource.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
fsType is the filesystem type to mount.readOnly defaults to false (read/write).Get secretRefvolumeName is the human-readable name of the StorageOS volume.volumeNamespace specifies the scope of the volume within StorageOS.int
hashCode()
secretRef
(V1ObjectReference secretRef) void
void
setReadOnly
(Boolean readOnly) void
setSecretRef
(V1ObjectReference secretRef) void
setVolumeName
(String volumeName) void
setVolumeNamespace
(String volumeNamespace) toString()
volumeName
(String volumeName) volumeNamespace
(String volumeNamespace)
-
Field Details
-
SERIALIZED_NAME_FS_TYPE
- See Also:
-
SERIALIZED_NAME_READ_ONLY
- See Also:
-
SERIALIZED_NAME_SECRET_REF
- See Also:
-
SERIALIZED_NAME_VOLUME_NAME
- See Also:
-
SERIALIZED_NAME_VOLUME_NAMESPACE
- See Also:
-
-
Constructor Details
-
V1StorageOSPersistentVolumeSource
public V1StorageOSPersistentVolumeSource()
-
-
Method Details
-
fsType
-
getFsType
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.- Returns:
- fsType
-
setFsType
-
readOnly
-
getReadOnly
readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.- Returns:
- readOnly
-
setReadOnly
-
secretRef
-
getSecretRef
Get secretRef- Returns:
- secretRef
-
setSecretRef
-
volumeName
-
getVolumeName
volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.- Returns:
- volumeName
-
setVolumeName
-
volumeNamespace
-
getVolumeNamespace
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.- Returns:
- volumeNamespace
-
setVolumeNamespace
-
equals
-
hashCode
public int hashCode() -
toString
-