Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1RBDPersistentVolumeSource
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1RBDPersistentVolumeSource
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1RBDPersistentVolumeSource 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
Fields Modifier and Type Field Description static StringJSON_PROPERTY_FS_TYPEstatic StringJSON_PROPERTY_IMAGEstatic StringJSON_PROPERTY_KEYRINGstatic StringJSON_PROPERTY_MONITORSstatic StringJSON_PROPERTY_POOLstatic StringJSON_PROPERTY_READ_ONLYstatic StringJSON_PROPERTY_SECRET_REFstatic StringJSON_PROPERTY_USER
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1RBDPersistentVolumeSource()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_FS_TYPE
public static final String JSON_PROPERTY_FS_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IMAGE
public static final String JSON_PROPERTY_IMAGE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_KEYRING
public static final String JSON_PROPERTY_KEYRING
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MONITORS
public static final String JSON_PROPERTY_MONITORS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_POOL
public static final String JSON_PROPERTY_POOL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_READ_ONLY
public static final String JSON_PROPERTY_READ_ONLY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SECRET_REF
public static final String JSON_PROPERTY_SECRET_REF
- See Also:
- Constant Field Values
-
JSON_PROPERTY_USER
public static final String JSON_PROPERTY_USER
- See Also:
- Constant Field Values
-
-
Method Detail
-
fsType
public IoK8sApiCoreV1RBDPersistentVolumeSource fsType(String fsType)
-
getFsType
@Nullable public String getFsType()
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:
- fsType
-
setFsType
public void setFsType(String fsType)
-
image
public IoK8sApiCoreV1RBDPersistentVolumeSource image(String image)
-
getImage
public String getImage()
The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it- Returns:
- image
-
setImage
public void setImage(String image)
-
keyring
public IoK8sApiCoreV1RBDPersistentVolumeSource keyring(String keyring)
-
getKeyring
@Nullable public String 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:
- keyring
-
setKeyring
public void setKeyring(String keyring)
-
monitors
public IoK8sApiCoreV1RBDPersistentVolumeSource monitors(List<String> monitors)
-
addMonitorsItem
public IoK8sApiCoreV1RBDPersistentVolumeSource addMonitorsItem(String monitorsItem)
-
getMonitors
public List<String> getMonitors()
A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it- Returns:
- monitors
-
pool
public IoK8sApiCoreV1RBDPersistentVolumeSource pool(String pool)
-
getPool
@Nullable public String getPool()
The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it- Returns:
- pool
-
setPool
public void setPool(String pool)
-
readOnly
public IoK8sApiCoreV1RBDPersistentVolumeSource readOnly(Boolean readOnly)
-
getReadOnly
@Nullable public Boolean 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:
- readOnly
-
setReadOnly
public void setReadOnly(Boolean readOnly)
-
secretRef
public IoK8sApiCoreV1RBDPersistentVolumeSource secretRef(IoK8sApiCoreV1SecretReference secretRef)
-
getSecretRef
@Nullable public IoK8sApiCoreV1SecretReference getSecretRef()
Get secretRef- Returns:
- secretRef
-
setSecretRef
public void setSecretRef(IoK8sApiCoreV1SecretReference secretRef)
-
user
public IoK8sApiCoreV1RBDPersistentVolumeSource user(String user)
-
getUser
@Nullable public String getUser()
The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it- Returns:
- user
-
setUser
public void setUser(String user)
-
-