MailPitContainerResource.withDataVolume
Method
interface MailPitContainerResource { // ... omitted for brevity withDataVolume( name: string, isReadOnly?: boolean): MailPitContainerResource;}Signature
method
withDataVolume builderConfigures a data volume for the MailPit container resource.
withDataVolume( name: string, isReadOnly?: boolean): MailPitContainerResourceParameters
namestringThe name of the data volume to be mounted.isReadOnly booleanoptional= FalseA boolean indicating whether the volume should be mounted as read-only.Returns
MailPitContainerResource Defined on
This method is defined on the following type: