Class V1CephFSVolumeSource
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1CephFSVolumeSource
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
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) 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
(V1LocalObjectReference secretRef) Set secretRef in a chainable fashion.void
setMonitors
(List<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
(V1LocalObjectReference 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
-
V1CephFSVolumeSource
-
-
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 -
monitors
Set monitors in a chainable fashion.- Returns:
- The same instance of V1CephFSVolumeSource for chaining.
-
addmonitorsItem
Add an item to the monitors property in a chainable fashion.- Returns:
- The same instance of V1CephFSVolumeSource 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 -
path
Set path in a chainable fashion.- Returns:
- The same instance of V1CephFSVolumeSource 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 -
readOnly
Set readOnly in a chainable fashion.- Returns:
- The same instance of V1CephFSVolumeSource 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 -
secretFile
Set secretFile in a chainable fashion.- Returns:
- The same instance of V1CephFSVolumeSource for chaining.
-
getSecretRef
- Returns:
- the secretRef property value
-
setSecretRef
Set the secretRef property value -
secretRef
Set secretRef in a chainable fashion.- Returns:
- The same instance of V1CephFSVolumeSource 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 -
user
Set user in a chainable fashion.- Returns:
- The same instance of V1CephFSVolumeSource for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-