Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1CephFSVolumeSource
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1CephFSVolumeSource
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1CephFSVolumeSource 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
Fields Modifier and Type Field Description static StringJSON_PROPERTY_MONITORSstatic StringJSON_PROPERTY_PATHstatic StringJSON_PROPERTY_READ_ONLYstatic StringJSON_PROPERTY_SECRET_FILEstatic StringJSON_PROPERTY_SECRET_REFstatic StringJSON_PROPERTY_USER
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1CephFSVolumeSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IoK8sApiCoreV1CephFSVolumeSourceaddMonitorsItem(String monitorsItem)booleanequals(Object o)List<String>getMonitors()Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-itStringgetPath()Optional: Used as the mounted root, rather than the full Ceph tree, default is /BooleangetReadOnly()Optional: Defaults to false (read/write).StringgetSecretFile()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-itIoK8sApiCoreV1LocalObjectReferencegetSecretRef()Get secretRefStringgetUser()Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-itinthashCode()IoK8sApiCoreV1CephFSVolumeSourcemonitors(List<String> monitors)IoK8sApiCoreV1CephFSVolumeSourcepath(String path)IoK8sApiCoreV1CephFSVolumeSourcereadOnly(Boolean readOnly)IoK8sApiCoreV1CephFSVolumeSourcesecretFile(String secretFile)IoK8sApiCoreV1CephFSVolumeSourcesecretRef(IoK8sApiCoreV1LocalObjectReference secretRef)voidsetMonitors(List<String> monitors)voidsetPath(String path)voidsetReadOnly(Boolean readOnly)voidsetSecretFile(String secretFile)voidsetSecretRef(IoK8sApiCoreV1LocalObjectReference secretRef)voidsetUser(String user)StringtoString()IoK8sApiCoreV1CephFSVolumeSourceuser(String user)
-
-
-
Field Detail
-
JSON_PROPERTY_MONITORS
public static final String JSON_PROPERTY_MONITORS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PATH
public static final String JSON_PROPERTY_PATH
- 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_FILE
public static final String JSON_PROPERTY_SECRET_FILE
- 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
-
monitors
public IoK8sApiCoreV1CephFSVolumeSource monitors(List<String> monitors)
-
addMonitorsItem
public IoK8sApiCoreV1CephFSVolumeSource addMonitorsItem(String monitorsItem)
-
getMonitors
public List<String> getMonitors()
Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it- Returns:
- monitors
-
path
public IoK8sApiCoreV1CephFSVolumeSource path(String path)
-
getPath
@Nullable public String getPath()
Optional: Used as the mounted root, rather than the full Ceph tree, default is /- Returns:
- path
-
setPath
public void setPath(String path)
-
readOnly
public IoK8sApiCoreV1CephFSVolumeSource readOnly(Boolean readOnly)
-
getReadOnly
@Nullable public Boolean getReadOnly()
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
public void setReadOnly(Boolean readOnly)
-
secretFile
public IoK8sApiCoreV1CephFSVolumeSource secretFile(String secretFile)
-
getSecretFile
@Nullable public String getSecretFile()
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
public void setSecretFile(String secretFile)
-
secretRef
public IoK8sApiCoreV1CephFSVolumeSource secretRef(IoK8sApiCoreV1LocalObjectReference secretRef)
-
getSecretRef
@Nullable public IoK8sApiCoreV1LocalObjectReference getSecretRef()
Get secretRef- Returns:
- secretRef
-
setSecretRef
public void setSecretRef(IoK8sApiCoreV1LocalObjectReference secretRef)
-
user
public IoK8sApiCoreV1CephFSVolumeSource user(String user)
-
getUser
@Nullable public String getUser()
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
public void setUser(String user)
-
-