Class V1FlexVolumeSource
java.lang.Object
io.kubernetes.client.openapi.models.V1FlexVolumeSource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T21:37:40.170033Z[Etc/UTC]")
public class V1FlexVolumeSource
extends Object
FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
driver is the name of the driver to use for this volume.fsType is the filesystem type to mount.options is Optional: this field holds extra command options if any.readOnly is Optional: defaults to false (read/write).Get secretRefint
hashCode()
putOptionsItem
(String key, String optionsItem) secretRef
(V1LocalObjectReference secretRef) void
void
void
setOptions
(Map<String, String> options) void
setReadOnly
(Boolean readOnly) void
setSecretRef
(V1LocalObjectReference secretRef) toString()
-
Field Details
-
SERIALIZED_NAME_DRIVER
- See Also:
-
SERIALIZED_NAME_FS_TYPE
- See Also:
-
SERIALIZED_NAME_OPTIONS
- See Also:
-
SERIALIZED_NAME_READ_ONLY
- See Also:
-
SERIALIZED_NAME_SECRET_REF
- See Also:
-
-
Constructor Details
-
V1FlexVolumeSource
public V1FlexVolumeSource()
-
-
Method Details
-
driver
-
getDriver
driver is the name of the driver to use for this volume.- Returns:
- driver
-
setDriver
-
fsType
-
getFsType
fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.- Returns:
- fsType
-
setFsType
-
options
-
putOptionsItem
-
getOptions
options is Optional: this field holds extra command options if any.- Returns:
- options
-
setOptions
-
readOnly
-
getReadOnly
readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.- Returns:
- readOnly
-
setReadOnly
-
secretRef
-
getSecretRef
Get secretRef- Returns:
- secretRef
-
setSecretRef
-
equals
-
hashCode
public int hashCode() -
toString
-