Class V1CephFSPersistentVolumeSource
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1CephFSPersistentVolumeSource
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1CephFSPersistentVolumeSource
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) Add an item to the monitors property in a chainable fashion.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-itgetUser()
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()
Set monitors in a chainable fashion.Set path in a chainable fashion.Set readOnly in a chainable fashion.secretFile
(String secretFile) Set secretFile in a chainable fashion.secretRef
(V1SecretReference secretRef) Set secretRef in a chainable fashion.void
setMonitors
(List<@NotNull String> monitors) Set the monitors property valuevoid
Set the path property valuevoid
setReadOnly
(Boolean readOnly) Set the readOnly property valuevoid
setSecretFile
(String secretFile) Set the secretFile property valuevoid
setSecretRef
(V1SecretReference secretRef) Set the secretRef property valuevoid
Set the user property valuetoString()
Set user in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_MONITORS
- See Also:
-
JSON_PROPERTY_PATH
- See Also:
-
JSON_PROPERTY_READ_ONLY
- See Also:
-
JSON_PROPERTY_SECRET_FILE
- See Also:
-
JSON_PROPERTY_SECRET_REF
- See Also:
-
JSON_PROPERTY_USER
- See Also:
-
-
Constructor Details
-
V1CephFSPersistentVolumeSource
-
-
Method Details
-
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:
- the monitors property value
-
setMonitors
Set the monitors property value- Parameters:
monitors
- property value to set
-
monitors
Set monitors in a chainable fashion.- Returns:
- The same instance of V1CephFSPersistentVolumeSource for chaining.
-
addmonitorsItem
Add an item to the monitors property in a chainable fashion.- Returns:
- The same instance of V1CephFSPersistentVolumeSource for chaining.
-
getPath
path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /- Returns:
- the path property value
-
setPath
Set the path property value- Parameters:
path
- property value to set
-
path
Set path in a chainable fashion.- Returns:
- The same instance of V1CephFSPersistentVolumeSource for chaining.
-
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:
- the readOnly property value
-
setReadOnly
Set the readOnly property value- Parameters:
readOnly
- property value to set
-
readOnly
Set readOnly in a chainable fashion.- Returns:
- The same instance of V1CephFSPersistentVolumeSource for chaining.
-
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:
- the secretFile property value
-
setSecretFile
Set the secretFile property value- Parameters:
secretFile
- property value to set
-
secretFile
Set secretFile in a chainable fashion.- Returns:
- The same instance of V1CephFSPersistentVolumeSource for chaining.
-
getSecretRef
- Returns:
- the secretRef property value
-
setSecretRef
Set the secretRef property value- Parameters:
secretRef
- property value to set
-
secretRef
Set secretRef in a chainable fashion.- Returns:
- The same instance of V1CephFSPersistentVolumeSource for chaining.
-
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:
- the user property value
-
setUser
Set the user property value- Parameters:
user
- property value to set
-
user
Set user in a chainable fashion.- Returns:
- The same instance of V1CephFSPersistentVolumeSource for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-