withDataVolume
Method
interface OllamaResource { // ... omitted for brevity withDataVolume( name?: string, isReadOnly?: boolean): OllamaResource;}Signature
method
withDataVolume builder Adds a data volume to the Ollama container.
withDataVolume( name?: string, isReadOnly?: boolean): OllamaResourceParameters
name string optional isReadOnly boolean optional = False Returns
OllamaResource Applies to
This method applies to the following types: