SeaweedFSContainerResource.WithDataVolume
Method
type SeaweedFSContainerResource interface { // ... omitted for brevity WithDataVolume(options ...*WithDataVolumeOptions) SeaweedFSContainerResource}Signature
method
WithDataVolume builderAdds a named volume for the SeaweedFS data folder.
WithDataVolume(options ...*WithDataVolumeOptions) SeaweedFSContainerResourceParameters
options...*WithDataVolumeOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithDataVolumeOptions argument.
Name*stringIsReadOnly *boolReturns
SeaweedFSContainerResource Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: