Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddBuckets

Method
📦 CommunityToolkit.Aspire.Hosting.RustFs v13.6.1
func (RustFsResource) AddBuckets(bucketNames []string) RustFsResource

Signature

methodAddBucketsbuilder
Adds 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) RustFsResource
bucketNames[]stringThe names of the buckets to create.
RustFsResource

The original IResourceBuilder for further chaining.

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

Applies to

This method applies to the following types: