Class V1RBDPersistentVolumeSource
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1RBDPersistentVolumeSource
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1RBDPersistentVolumeSource
extends Object
Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and 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
Set fsType in a chainable fashion.fsType is the filesystem type of the volume that you want to mount.getImage()
image is the rados image name.keyring is the path to key ring for RBDUser.monitors is a collection of Ceph monitors.getPool()
pool is the rados pool name.readOnly here will force the ReadOnly setting in VolumeMounts.getUser()
user is the rados user name.int
hashCode()
Set image in a chainable fashion.Set keyring in a chainable fashion.Set monitors in a chainable fashion.Set pool in a chainable fashion.Set readOnly in a chainable fashion.secretRef
(V1SecretReference secretRef) Set secretRef in a chainable fashion.void
Set the fsType property valuevoid
Set the image property valuevoid
setKeyring
(String keyring) Set the keyring property valuevoid
setMonitors
(List<String> monitors) Set the monitors property valuevoid
Set the pool property valuevoid
setReadOnly
(Boolean readOnly) Set the readOnly 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_FS_TYPE
- See Also:
-
JSON_PROPERTY_IMAGE
- See Also:
-
JSON_PROPERTY_KEYRING
- See Also:
-
JSON_PROPERTY_MONITORS
- See Also:
-
JSON_PROPERTY_POOL
- See Also:
-
JSON_PROPERTY_READ_ONLY
- See Also:
-
JSON_PROPERTY_SECRET_REF
- See Also:
-
JSON_PROPERTY_USER
- See Also:
-
-
Constructor Details
-
V1RBDPersistentVolumeSource
-
-
Method Details
-
getFsType
fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd- Returns:
- the fsType property value
-
setFsType
Set the fsType property value -
fsType
Set fsType in a chainable fashion.- Returns:
- The same instance of V1RBDPersistentVolumeSource for chaining.
-
getImage
image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it- Returns:
- the image property value
-
setImage
Set the image property value -
image
Set image in a chainable fashion.- Returns:
- The same instance of V1RBDPersistentVolumeSource for chaining.
-
getKeyring
keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it- Returns:
- the keyring property value
-
setKeyring
Set the keyring property value -
keyring
Set keyring in a chainable fashion.- Returns:
- The same instance of V1RBDPersistentVolumeSource for chaining.
-
getMonitors
monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/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 V1RBDPersistentVolumeSource for chaining.
-
addmonitorsItem
Add an item to the monitors property in a chainable fashion.- Returns:
- The same instance of V1RBDPersistentVolumeSource for chaining.
-
getPool
pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it- Returns:
- the pool property value
-
setPool
Set the pool property value -
pool
Set pool in a chainable fashion.- Returns:
- The same instance of V1RBDPersistentVolumeSource for chaining.
-
getReadOnly
readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/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 V1RBDPersistentVolumeSource 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 V1RBDPersistentVolumeSource for chaining.
-
getUser
user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/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 V1RBDPersistentVolumeSource for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-