public class V1CephFSPersistentVolumeSource extends Object
Constructor and Description |
---|
V1CephFSPersistentVolumeSource() |
Modifier and Type | Method and Description |
---|---|
V1CephFSPersistentVolumeSource |
addMonitorsItem(String monitorsItem) |
boolean |
equals(Object o) |
List<String> |
getMonitors()
Required: Monitors is a collection of Ceph monitors More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
|
String |
getPath()
Optional: Used as the mounted root, rather than the full Ceph tree, default is /
|
String |
getSecretFile()
Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
|
V1SecretReference |
getSecretRef()
Optional: SecretRef is reference to the authentication secret for User, default is empty.
|
String |
getUser()
Optional: User is the rados user name, default is admin More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
|
int |
hashCode() |
Boolean |
isReadOnly()
Optional: Defaults to false (read/write).
|
V1CephFSPersistentVolumeSource |
monitors(List<String> monitors) |
V1CephFSPersistentVolumeSource |
path(String path) |
V1CephFSPersistentVolumeSource |
readOnly(Boolean readOnly) |
V1CephFSPersistentVolumeSource |
secretFile(String secretFile) |
V1CephFSPersistentVolumeSource |
secretRef(V1SecretReference secretRef) |
void |
setMonitors(List<String> monitors) |
void |
setPath(String path) |
void |
setReadOnly(Boolean readOnly) |
void |
setSecretFile(String secretFile) |
void |
setSecretRef(V1SecretReference secretRef) |
void |
setUser(String user) |
String |
toString() |
V1CephFSPersistentVolumeSource |
user(String user) |
public V1CephFSPersistentVolumeSource monitors(List<String> monitors)
public V1CephFSPersistentVolumeSource addMonitorsItem(String monitorsItem)
public List<String> getMonitors()
public V1CephFSPersistentVolumeSource path(String path)
public String getPath()
public void setPath(String path)
public V1CephFSPersistentVolumeSource readOnly(Boolean readOnly)
public Boolean isReadOnly()
public void setReadOnly(Boolean readOnly)
public V1CephFSPersistentVolumeSource secretFile(String secretFile)
public String getSecretFile()
public void setSecretFile(String secretFile)
public V1CephFSPersistentVolumeSource secretRef(V1SecretReference secretRef)
public V1SecretReference getSecretRef()
public void setSecretRef(V1SecretReference secretRef)
public V1CephFSPersistentVolumeSource user(String user)
public String getUser()
public void setUser(String user)
Copyright © 2019. All rights reserved.