public class V1CSIVolumeSource extends Object
| Constructor and Description |
|---|
V1CSIVolumeSource() |
| Modifier and Type | Method and Description |
|---|---|
V1CSIVolumeSource |
driver(String driver) |
boolean |
equals(Object o) |
V1CSIVolumeSource |
fsType(String fsType) |
String |
getDriver()
Driver is the name of the CSI driver that handles this volume.
|
String |
getFsType()
Filesystem type to mount.
|
V1LocalObjectReference |
getNodePublishSecretRef()
NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls.
|
Map<String,String> |
getVolumeAttributes()
VolumeAttributes stores driver-specific properties that are passed to the CSI driver.
|
int |
hashCode() |
Boolean |
isReadOnly()
Specifies a read-only configuration for the volume.
|
V1CSIVolumeSource |
nodePublishSecretRef(V1LocalObjectReference nodePublishSecretRef) |
V1CSIVolumeSource |
putVolumeAttributesItem(String key,
String volumeAttributesItem) |
V1CSIVolumeSource |
readOnly(Boolean readOnly) |
void |
setDriver(String driver) |
void |
setFsType(String fsType) |
void |
setNodePublishSecretRef(V1LocalObjectReference nodePublishSecretRef) |
void |
setReadOnly(Boolean readOnly) |
void |
setVolumeAttributes(Map<String,String> volumeAttributes) |
String |
toString() |
V1CSIVolumeSource |
volumeAttributes(Map<String,String> volumeAttributes) |
public V1CSIVolumeSource driver(String driver)
public String getDriver()
public void setDriver(String driver)
public V1CSIVolumeSource fsType(String fsType)
public String getFsType()
public void setFsType(String fsType)
public V1CSIVolumeSource nodePublishSecretRef(V1LocalObjectReference nodePublishSecretRef)
public V1LocalObjectReference getNodePublishSecretRef()
public void setNodePublishSecretRef(V1LocalObjectReference nodePublishSecretRef)
public V1CSIVolumeSource readOnly(Boolean readOnly)
public Boolean isReadOnly()
public void setReadOnly(Boolean readOnly)
public V1CSIVolumeSource volumeAttributes(Map<String,String> volumeAttributes)
public V1CSIVolumeSource putVolumeAttributesItem(String key, String volumeAttributesItem)
public Map<String,String> getVolumeAttributes()
Copyright © 2019. All rights reserved.