RustFsResource.WithDataBindMount

Method
📦 CommunityToolkit.Aspire.Hosting.RustFs v13.6.1
type RustFsResource interface {
// ... omitted for brevity
WithDataBindMount(source string) RustFsResource
}

Signature

methodWithDataBindMountbuilder
Adds a bind mount for the data folder to a RustFs container resource.
WithDataBindMount(source string) RustFsResource
sourcestringThe source directory on the host to mount into the container.
RustFsResource

The IResourceBuilder.

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

Defined on

This method is defined on the following type: