Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithDataBindMount

Method
📦 CommunityToolkit.Aspire.Hosting.SeaweedFS v13.6.1
func (SeaweedFSContainerResource) WithDataBindMount(
source string,
options ...*WithDataBindMountOptions,
) SeaweedFSContainerResource

Signature

methodWithDataBindMountbuilder
Adds a bind mount for the SeaweedFS data folder.
WithDataBindMount(
source string,
options ...*WithDataBindMountOptions,
) SeaweedFSContainerResource
sourcestring
options...*WithDataBindMountOptionsOptional settings, described under Options.

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

IsReadOnly*bool
SeaweedFSContainerResource

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

Applies to

This method applies to the following types: