Class V1CephFSVolumeSource
java.lang.Object
io.kubernetes.client.openapi.models.V1CephFSVolumeSource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-18T15:05:57.863601Z[Etc/UTC]")
public class V1CephFSVolumeSource
extends Object
Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddMonitorsItem
(String monitorsItem) boolean
monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-itgetPath()
path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /readOnly is Optional: Defaults to false (read/write).secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-itGet secretRefgetUser()
user is optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-itint
hashCode()
secretFile
(String secretFile) secretRef
(V1LocalObjectReference secretRef) void
setMonitors
(List<String> monitors) void
void
setReadOnly
(Boolean readOnly) void
setSecretFile
(String secretFile) void
setSecretRef
(V1LocalObjectReference secretRef) void
toString()
-
Field Details
-
SERIALIZED_NAME_MONITORS
- See Also:
-
SERIALIZED_NAME_PATH
- See Also:
-
SERIALIZED_NAME_READ_ONLY
- See Also:
-
SERIALIZED_NAME_SECRET_FILE
- See Also:
-
SERIALIZED_NAME_SECRET_REF
- See Also:
-
SERIALIZED_NAME_USER
- See Also:
-
-
Constructor Details
-
V1CephFSVolumeSource
public V1CephFSVolumeSource()
-
-
Method Details
-
monitors
-
addMonitorsItem
-
getMonitors
monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it- Returns:
- monitors
-
setMonitors
-
path
-
getPath
path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /- Returns:
- path
-
setPath
-
readOnly
-
getReadOnly
readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it- Returns:
- readOnly
-
setReadOnly
-
secretFile
-
getSecretFile
secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it- Returns:
- secretFile
-
setSecretFile
-
secretRef
-
getSecretRef
Get secretRef- Returns:
- secretRef
-
setSecretRef
-
user
-
getUser
user is optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it- Returns:
- user
-
setUser
-
equals
-
hashCode
public int hashCode() -
toString
-