public class V1CephFSVolumeSource extends Object
Constructor and Description |
---|
V1CephFSVolumeSource() |
Modifier and Type | Method and Description |
---|---|
V1CephFSVolumeSource |
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
|
V1LocalObjectReference |
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).
|
V1CephFSVolumeSource |
monitors(List<String> monitors) |
V1CephFSVolumeSource |
path(String path) |
V1CephFSVolumeSource |
readOnly(Boolean readOnly) |
V1CephFSVolumeSource |
secretFile(String secretFile) |
V1CephFSVolumeSource |
secretRef(V1LocalObjectReference secretRef) |
void |
setMonitors(List<String> monitors) |
void |
setPath(String path) |
void |
setReadOnly(Boolean readOnly) |
void |
setSecretFile(String secretFile) |
void |
setSecretRef(V1LocalObjectReference secretRef) |
void |
setUser(String user) |
String |
toString() |
V1CephFSVolumeSource |
user(String user) |
public V1CephFSVolumeSource monitors(List<String> monitors)
public V1CephFSVolumeSource addMonitorsItem(String monitorsItem)
public List<String> getMonitors()
public V1CephFSVolumeSource path(String path)
public String getPath()
public void setPath(String path)
public V1CephFSVolumeSource readOnly(Boolean readOnly)
public Boolean isReadOnly()
public void setReadOnly(Boolean readOnly)
public V1CephFSVolumeSource secretFile(String secretFile)
public String getSecretFile()
public void setSecretFile(String secretFile)
public V1CephFSVolumeSource secretRef(V1LocalObjectReference secretRef)
public V1LocalObjectReference getSecretRef()
public void setSecretRef(V1LocalObjectReference secretRef)
public V1CephFSVolumeSource user(String user)
public String getUser()
public void setUser(String user)
Copyright © 2018. All rights reserved.