RustFsResource.AddBucket

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

Signature

methodAddBucketbuilder
Adds 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) RustFsBucketResource
bucketNamestringThe name of the bucket to create.
RustFsBucketResource

A reference to the IResourceBuilder for the bucket resource.

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

Defined on

This method is defined on the following type: