Package io.fabric8.kubernetes.api.model
Class CephFSPersistentVolumeSource
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.CephFSPersistentVolumeSource
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<CephFSPersistentVolumeSourceBuilder>
,KubernetesResource
,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class CephFSPersistentVolumeSource extends Object implements io.fabric8.kubernetes.api.builder.Editable<CephFSPersistentVolumeSourceBuilder>, KubernetesResource
Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CephFSPersistentVolumeSource()
No args constructor for use in serializationCephFSPersistentVolumeSource(List<String> monitors, String path, Boolean readOnly, String secretFile, SecretReference secretRef, String user)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CephFSPersistentVolumeSourceBuilder
edit()
Map<String,Object>
getAdditionalProperties()
List<String>
getMonitors()
monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-itString
getPath()
path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /Boolean
getReadOnly()
readOnly is Optional: Defaults to false (read/write).String
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-itSecretReference
getSecretRef()
Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.String
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-itvoid
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setMonitors(List<String> monitors)
monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-itvoid
setPath(String path)
path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /void
setReadOnly(Boolean readOnly)
readOnly is Optional: Defaults to false (read/write).void
setSecretFile(String secretFile)
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-itvoid
setSecretRef(SecretReference secretRef)
Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.void
setUser(String user)
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-itCephFSPersistentVolumeSourceBuilder
toBuilder()
-
-
-
Method Detail
-
getMonitors
public List<String> 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
-
setMonitors
public void setMonitors(List<String> monitors)
monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
-
getPath
public String getPath()
path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /
-
setPath
public void setPath(String path)
path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /
-
getReadOnly
public Boolean 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
-
setReadOnly
public void setReadOnly(Boolean readOnly)
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
-
getSecretFile
public String 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
-
setSecretFile
public void setSecretFile(String secretFile)
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
-
getSecretRef
public SecretReference getSecretRef()
Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.
-
setSecretRef
public void setSecretRef(SecretReference secretRef)
Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.
-
getUser
public String 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
-
setUser
public void setUser(String user)
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
-
edit
public CephFSPersistentVolumeSourceBuilder edit()
- Specified by:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<CephFSPersistentVolumeSourceBuilder>
-
toBuilder
public CephFSPersistentVolumeSourceBuilder toBuilder()
-
-