OllamaResource.withDataVolume
Method
interface OllamaResource { // ... omitted for brevity withDataVolume( name?: string, isReadOnly?: boolean): OllamaResource;}Signature
method
withDataVolumebuilderAdds a data volume to the Ollama container.
withDataVolume( name?: string, isReadOnly?: boolean): OllamaResourceParameters
namestringoptionalisReadOnlybooleanoptional= FalseReturns
OllamaResourceDefined on
This method is defined on the following type: