WithDataVolume
Method
func (SeaweedFSContainerResource) WithDataVolume(options ...*WithDataVolumeOptions) SeaweedFSContainerResourceSignature
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().
Applies to
This method applies to the following types: