withDataBindMount
Method
interface RedPandaServerResource { // ... omitted for brevity withDataBindMount( source: string, isReadOnly?: boolean): RedPandaServerResource;}Signature
method
withDataBindMountbuilderAdds a bind mount for the data folder to a Redpanda container resource.
withDataBindMount( source: string, isReadOnly?: boolean): RedPandaServerResourceParameters
sourcestringisReadOnlybooleanoptional= FalseReturns
RedPandaServerResourceApplies to
This method applies to the following types: