Package io.fabric8.kubernetes.api.model
Class CephFSVolumeSource
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.CephFSVolumeSource
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<CephFSVolumeSourceBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class CephFSVolumeSource extends Object implements io.fabric8.kubernetes.api.builder.Editable<CephFSVolumeSourceBuilder>, 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 CephFSVolumeSource()No args constructor for use in serializationCephFSVolumeSource(List<String> monitors, String path, Boolean readOnly, String secretFile, LocalObjectReference secretRef, String user)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CephFSVolumeSourceBuilderedit()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-itStringgetPath()path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /BooleangetReadOnly()readOnly is Optional: Defaults to false (read/write).StringgetSecretFile()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-itLocalObjectReferencegetSecretRef()Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.StringgetUser()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-itvoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetMonitors(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-itvoidsetPath(String path)path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /voidsetReadOnly(Boolean readOnly)readOnly is Optional: Defaults to false (read/write).voidsetSecretFile(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-itvoidsetSecretRef(LocalObjectReference secretRef)Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.voidsetUser(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-itCephFSVolumeSourceBuildertoBuilder()
-
-
-
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 LocalObjectReference 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(LocalObjectReference 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 CephFSVolumeSourceBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<CephFSVolumeSourceBuilder>
-
toBuilder
public CephFSVolumeSourceBuilder toBuilder()
-
-