Package io.fabric8.kubernetes.api.model
Class CSIPersistentVolumeSource
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.CSIPersistentVolumeSource
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<CSIPersistentVolumeSourceBuilder>
,KubernetesResource
,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class CSIPersistentVolumeSource extends Object implements io.fabric8.kubernetes.api.builder.Editable<CSIPersistentVolumeSourceBuilder>, KubernetesResource
Represents storage that is managed by an external CSI volume driver- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CSIPersistentVolumeSource()
No args constructor for use in serializationCSIPersistentVolumeSource(SecretReference controllerExpandSecretRef, SecretReference controllerPublishSecretRef, String driver, String fsType, SecretReference nodeExpandSecretRef, SecretReference nodePublishSecretRef, SecretReference nodeStageSecretRef, Boolean readOnly, Map<String,String> volumeAttributes, String volumeHandle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CSIPersistentVolumeSourceBuilder
edit()
Map<String,Object>
getAdditionalProperties()
SecretReference
getControllerExpandSecretRef()
Represents storage that is managed by an external CSI volume driverSecretReference
getControllerPublishSecretRef()
Represents storage that is managed by an external CSI volume driverString
getDriver()
driver is the name of the driver to use for this volume.String
getFsType()
fsType to mount.SecretReference
getNodeExpandSecretRef()
Represents storage that is managed by an external CSI volume driverSecretReference
getNodePublishSecretRef()
Represents storage that is managed by an external CSI volume driverSecretReference
getNodeStageSecretRef()
Represents storage that is managed by an external CSI volume driverBoolean
getReadOnly()
readOnly value to pass to ControllerPublishVolumeRequest.Map<String,String>
getVolumeAttributes()
volumeAttributes 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.void
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setControllerExpandSecretRef(SecretReference controllerExpandSecretRef)
Represents storage that is managed by an external CSI volume drivervoid
setControllerPublishSecretRef(SecretReference controllerPublishSecretRef)
Represents storage that is managed by an external CSI volume drivervoid
setDriver(String driver)
driver is the name of the driver to use for this volume.void
setFsType(String fsType)
fsType to mount.void
setNodeExpandSecretRef(SecretReference nodeExpandSecretRef)
Represents storage that is managed by an external CSI volume drivervoid
setNodePublishSecretRef(SecretReference nodePublishSecretRef)
Represents storage that is managed by an external CSI volume drivervoid
setNodeStageSecretRef(SecretReference nodeStageSecretRef)
Represents storage that is managed by an external CSI volume drivervoid
setReadOnly(Boolean readOnly)
readOnly value to pass to ControllerPublishVolumeRequest.void
setVolumeAttributes(Map<String,String> volumeAttributes)
volumeAttributes of the volume to publish.void
setVolumeHandle(String volumeHandle)
volumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls.CSIPersistentVolumeSourceBuilder
toBuilder()
-
-
-
Constructor Detail
-
CSIPersistentVolumeSource
public CSIPersistentVolumeSource()
No args constructor for use in serialization
-
CSIPersistentVolumeSource
public CSIPersistentVolumeSource(SecretReference controllerExpandSecretRef, SecretReference controllerPublishSecretRef, String driver, String fsType, SecretReference nodeExpandSecretRef, SecretReference nodePublishSecretRef, SecretReference nodeStageSecretRef, Boolean readOnly, Map<String,String> volumeAttributes, String volumeHandle)
-
-
Method Detail
-
getControllerExpandSecretRef
public SecretReference getControllerExpandSecretRef()
Represents storage that is managed by an external CSI volume driver
-
setControllerExpandSecretRef
public void setControllerExpandSecretRef(SecretReference controllerExpandSecretRef)
Represents storage that is managed by an external CSI volume driver
-
getControllerPublishSecretRef
public SecretReference getControllerPublishSecretRef()
Represents storage that is managed by an external CSI volume driver
-
setControllerPublishSecretRef
public void setControllerPublishSecretRef(SecretReference controllerPublishSecretRef)
Represents storage that is managed by an external CSI volume driver
-
getDriver
public String getDriver()
driver is the name of the driver to use for this volume. Required.
-
setDriver
public void setDriver(String driver)
driver is the name of the driver to use for this volume. Required.
-
getFsType
public String getFsType()
fsType to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs".
-
setFsType
public void setFsType(String fsType)
fsType to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs".
-
getNodeExpandSecretRef
public SecretReference getNodeExpandSecretRef()
Represents storage that is managed by an external CSI volume driver
-
setNodeExpandSecretRef
public void setNodeExpandSecretRef(SecretReference nodeExpandSecretRef)
Represents storage that is managed by an external CSI volume driver
-
getNodePublishSecretRef
public SecretReference getNodePublishSecretRef()
Represents storage that is managed by an external CSI volume driver
-
setNodePublishSecretRef
public void setNodePublishSecretRef(SecretReference nodePublishSecretRef)
Represents storage that is managed by an external CSI volume driver
-
getNodeStageSecretRef
public SecretReference getNodeStageSecretRef()
Represents storage that is managed by an external CSI volume driver
-
setNodeStageSecretRef
public void setNodeStageSecretRef(SecretReference nodeStageSecretRef)
Represents storage that is managed by an external CSI volume driver
-
getReadOnly
public Boolean getReadOnly()
readOnly value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).
-
setReadOnly
public void setReadOnly(Boolean readOnly)
readOnly value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).
-
getVolumeAttributes
public Map<String,String> getVolumeAttributes()
volumeAttributes of the volume to publish.
-
setVolumeAttributes
public void setVolumeAttributes(Map<String,String> volumeAttributes)
volumeAttributes of the volume to publish.
-
getVolumeHandle
public 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. Required.
-
setVolumeHandle
public void setVolumeHandle(String volumeHandle)
volumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required.
-
edit
public CSIPersistentVolumeSourceBuilder edit()
- Specified by:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<CSIPersistentVolumeSourceBuilder>
-
toBuilder
public CSIPersistentVolumeSourceBuilder toBuilder()
-
-