public class V1CSIPersistentVolumeSource extends Object
Constructor and Description |
---|
V1CSIPersistentVolumeSource() |
Modifier and Type | Method and Description |
---|---|
V1CSIPersistentVolumeSource |
controllerPublishSecretRef(V1SecretReference controllerPublishSecretRef) |
V1CSIPersistentVolumeSource |
driver(String driver) |
boolean |
equals(Object o) |
V1CSIPersistentVolumeSource |
fsType(String fsType) |
V1SecretReference |
getControllerPublishSecretRef()
ControllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls.
|
String |
getDriver()
Driver is the name of the driver to use for this volume.
|
String |
getFsType()
Filesystem type to mount.
|
V1SecretReference |
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.
|
V1SecretReference |
getNodeStageSecretRef()
NodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls.
|
Map<String,String> |
getVolumeAttributes()
Attributes of the volume to publish.
|
String |
getVolumeHandle()
VolumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls.
|
int |
hashCode() |
Boolean |
isReadOnly()
Optional: The value to pass to ControllerPublishVolumeRequest.
|
V1CSIPersistentVolumeSource |
nodePublishSecretRef(V1SecretReference nodePublishSecretRef) |
V1CSIPersistentVolumeSource |
nodeStageSecretRef(V1SecretReference nodeStageSecretRef) |
V1CSIPersistentVolumeSource |
putVolumeAttributesItem(String key,
String volumeAttributesItem) |
V1CSIPersistentVolumeSource |
readOnly(Boolean readOnly) |
void |
setControllerPublishSecretRef(V1SecretReference controllerPublishSecretRef) |
void |
setDriver(String driver) |
void |
setFsType(String fsType) |
void |
setNodePublishSecretRef(V1SecretReference nodePublishSecretRef) |
void |
setNodeStageSecretRef(V1SecretReference nodeStageSecretRef) |
void |
setReadOnly(Boolean readOnly) |
void |
setVolumeAttributes(Map<String,String> volumeAttributes) |
void |
setVolumeHandle(String volumeHandle) |
String |
toString() |
V1CSIPersistentVolumeSource |
volumeAttributes(Map<String,String> volumeAttributes) |
V1CSIPersistentVolumeSource |
volumeHandle(String volumeHandle) |
public V1CSIPersistentVolumeSource controllerPublishSecretRef(V1SecretReference controllerPublishSecretRef)
public V1SecretReference getControllerPublishSecretRef()
public void setControllerPublishSecretRef(V1SecretReference controllerPublishSecretRef)
public V1CSIPersistentVolumeSource driver(String driver)
public String getDriver()
public void setDriver(String driver)
public V1CSIPersistentVolumeSource fsType(String fsType)
public String getFsType()
public void setFsType(String fsType)
public V1CSIPersistentVolumeSource nodePublishSecretRef(V1SecretReference nodePublishSecretRef)
public V1SecretReference getNodePublishSecretRef()
public void setNodePublishSecretRef(V1SecretReference nodePublishSecretRef)
public V1CSIPersistentVolumeSource nodeStageSecretRef(V1SecretReference nodeStageSecretRef)
public V1SecretReference getNodeStageSecretRef()
public void setNodeStageSecretRef(V1SecretReference nodeStageSecretRef)
public V1CSIPersistentVolumeSource readOnly(Boolean readOnly)
public Boolean isReadOnly()
public void setReadOnly(Boolean readOnly)
public V1CSIPersistentVolumeSource volumeAttributes(Map<String,String> volumeAttributes)
public V1CSIPersistentVolumeSource putVolumeAttributesItem(String key, String volumeAttributesItem)
public Map<String,String> getVolumeAttributes()
public V1CSIPersistentVolumeSource volumeHandle(String volumeHandle)
public String getVolumeHandle()
public void setVolumeHandle(String volumeHandle)
Copyright © 2019. All rights reserved.