RustFsResource.AddBucket
Method
type RustFsResource interface { // ... omitted for brevity AddBucket(bucketName string) RustFsBucketResource}Signature
method
AddBucket builderAdds 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) RustFsBucketResourceParameters
bucketName stringThe name of the bucket to create.Returns
RustFsBucketResource A reference to the I for the bucket resource.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: