Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithDataVolume

Method
📦 CommunityToolkit.Aspire.Hosting.SeaweedFS v13.6.1
func (SeaweedFSContainerResource) WithDataVolume(options ...*WithDataVolumeOptions) SeaweedFSContainerResource

Signature

methodWithDataVolumebuilder
Adds a named volume for the SeaweedFS data folder.
WithDataVolume(options ...*WithDataVolumeOptions) SeaweedFSContainerResource
options...*WithDataVolumeOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*WithDataVolumeOptions argument.

Name*string
IsReadOnly*bool
SeaweedFSContainerResource

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: