mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-25 21:55:56 +03:00
[PR #34] [MERGED] Support creating a bucket with POST /storage/v1/b #286
Labels
No labels
bug
compatibility-issue
docker
documentation
enhancement
help wanted
needs information
pull-request
question
stale
unfortunate
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/fake-gcs-server#286
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fsouza/fake-gcs-server/pull/34
Author: @jwhitlock
Created: 5/31/2019
Status: ✅ Merged
Merged: 5/31/2019
Merged by: @fsouza
Base:
master← Head:create-bucket-by-post📝 Commits (1)
6a18602Support creating a bucket with POST /b📊 Changes
3 files changed (+47 additions, -0 deletions)
View changed files
📝
fakestorage/bucket.go(+28 -0)📝
fakestorage/bucket_test.go(+18 -0)📝
fakestorage/server.go(+1 -0)📄 Description
This implements a handler for a
POSTto/storage/v1/b, which creates a bucket by name.I had a similar issue as reported in https://github.com/fsouza/fake-gcs-server/issues/24#issuecomment-477888602, that I expected to be able to use the client library to create buckets.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.