MakeBucket creates a new bucket with bucketName with a context to control cancellations and timeouts. Location is an optional argument, by default all buckets are created in US Standard Region. For Amazon S3 for more supported regions - http://docs.aws.amazon.com/general/latest/gr/rande.html For G
(ctx context.Context, bucketName string, opts MakeBucketOptions)
| 126 | // For Amazon S3 for more supported regions - http://docs.aws.amazon.com/general/latest/gr/rande.html |
| 127 | // For Google Cloud Storage for more supported regions - https://cloud.google.com/storage/docs/bucket-locations |
| 128 | func (c *Client) MakeBucket(ctx context.Context, bucketName string, opts MakeBucketOptions) (err error) { |
| 129 | return c.makeBucket(ctx, bucketName, opts) |
| 130 | } |