CommunityToolkit.Aspire.Hosting.RustFs
📦 CommunityToolkit.Aspire.Hosting.RustFsv13.6.1Import path
apphost/modules/aspire6Functions
2Types
2 types, 6 functions and 0 members
Handles
Functions
DistributedApplicationBuilder
RustFsResource
method
AddBucketbuilderAdds a bucket to the RustFs resource. The bucket is created by issuing a signed
PUT request to the RustFs S3 API after the server resource becomes ready.AddBucket(bucketName string) RustFsBucketResourcemethod
AddBucketsbuilderAdds multiple buckets to the RustFs resource. Each bucket is registered as its own
RustFsBucketResource child resource and created via the RustFs S3 API once the server resource becomes ready.AddBuckets(bucketNames []string) RustFsResourcemethod
WithDataBindMountbuilderAdds a bind mount for the data folder to a RustFs container resource.
WithDataBindMount(source string) RustFsResourcemethod
WithDataVolumebuilderAdds a named volume for the data folder to a RustFs container resource.
WithDataVolume(options ...*WithDataVolumeOptions) RustFsResourcemethod
WithSigningRegionbuilderSets the AWS signing region used when creating buckets via the S3 API. Defaults to
us-east-1 if not specified.WithSigningRegion(region string) RustFsResource