@Generated(value="org.jsonschema2pojo") public class RBDVolumeSource extends Object
Constructor and Description |
---|
RBDVolumeSource()
No args constructor for use in serialization
|
RBDVolumeSource(String fsType,
String image,
String keyring,
List<String> monitors,
String pool,
Boolean readOnly,
LocalObjectReference secretRef,
String user) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
String |
getFsType()
file system type to mount
|
String |
getImage()
rados image name; see http://releases.k8s.io/v1.0.0/examples/rbd/README.md#how-to-use-it
|
String |
getKeyring()
keyring is the path to key ring for rados user; default is /etc/ceph/keyring; optional; see http://releases.k8s.io/v1.0.0/examples/rbd/README.md#how-to-use-it
|
List<String> |
getMonitors()
a collection of Ceph monitors; see http://releases.k8s.io/v1.0.0/examples/rbd/README.md#how-to-use-it
|
String |
getPool()
rados pool name; default is rbd; optional; see http://releases.k8s.io/v1.0.0/examples/rbd/README.md#how-to-use-it
|
Boolean |
getReadOnly()
rbd volume to be mounted with read-only permissions; see http://releases.k8s.io/v1.0.0/examples/rbd/README.md#how-to-use-it
|
LocalObjectReference |
getSecretRef() |
String |
getUser()
rados user name; default is admin; optional; see http://releases.k8s.io/v1.0.0/examples/rbd/README.md#how-to-use-it
|
void |
setAdditionalProperty(String name,
Object value) |
void |
setFsType(String fsType)
file system type to mount
|
void |
setImage(String image)
rados image name; see http://releases.k8s.io/v1.0.0/examples/rbd/README.md#how-to-use-it
|
void |
setKeyring(String keyring)
keyring is the path to key ring for rados user; default is /etc/ceph/keyring; optional; see http://releases.k8s.io/v1.0.0/examples/rbd/README.md#how-to-use-it
|
void |
setMonitors(List<String> monitors)
a collection of Ceph monitors; see http://releases.k8s.io/v1.0.0/examples/rbd/README.md#how-to-use-it
|
void |
setPool(String pool)
rados pool name; default is rbd; optional; see http://releases.k8s.io/v1.0.0/examples/rbd/README.md#how-to-use-it
|
void |
setReadOnly(Boolean readOnly)
rbd volume to be mounted with read-only permissions; see http://releases.k8s.io/v1.0.0/examples/rbd/README.md#how-to-use-it
|
void |
setSecretRef(LocalObjectReference secretRef) |
void |
setUser(String user)
rados user name; default is admin; optional; see http://releases.k8s.io/v1.0.0/examples/rbd/README.md#how-to-use-it
|
public RBDVolumeSource()
public String getFsType()
public void setFsType(String fsType)
fsType
- The fsTypepublic String getImage()
public void setImage(String image)
image
- The imagepublic String getKeyring()
public void setKeyring(String keyring)
keyring
- The keyringpublic List<String> getMonitors()
public void setMonitors(List<String> monitors)
monitors
- The monitorspublic String getPool()
public void setPool(String pool)
pool
- The poolpublic Boolean getReadOnly()
public void setReadOnly(Boolean readOnly)
readOnly
- The readOnlypublic LocalObjectReference getSecretRef()
public void setSecretRef(LocalObjectReference secretRef)
secretRef
- The secretRefpublic String getUser()
public void setUser(String user)
user
- The userCopyright © 2011–2015 Red Hat. All rights reserved.