mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-25 21:55:56 +03:00
[GH-ISSUE #8] How to use? #2155
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#2155
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?
Originally created by @frallain on GitHub (Apr 27, 2018).
Original GitHub issue: https://github.com/fsouza/fake-gcs-server/issues/8
Hi, I am really interested by this initiative to mimick GCS a la fakes3. Some questions though,
Cheers
@fsouza commented on GitHub (Apr 27, 2018):
@frallain hey, it looks like you want to use this as a standalone server/daemon? fake-gcs-server is a library, you can create a custom application server out of it, but you'd need to write the code to do so.
Not sure if that answers your question. Please let me know if that's not the case! :)
@c1tt1 commented on GitHub (May 2, 2018):
I think it would be better to have make it as standalone daemon or server executable as a rest api service, in that case any programming language can consume it, like how this fake-s3 is implemented . Now as it is only golang developers can use this.
@gracenoah commented on GitHub (Aug 6, 2018):
This is how I use it:
I also use it the original intended way as a library with in-memory storage in tests, but this is really useful for integration tests.
@teone commented on GitHub (Mar 27, 2019):
Hi @fsouza,
first thing, thanks for creating this!
I'm trying to use this as a fake backend to create standalone server (as @cllty suggested).
Using @gracenoah suggestion I quickly containerized it and it's running exposing port
9000.When I run a
curlagainst it I receive aAccessDeniedas in:I couldn't find any reference to credentials in the code, so any guidance on the usage of the server will be much appreciated.
Thanks in advance
@teone commented on GitHub (Mar 27, 2019):
ok, never mind and sorry for the stupid question... I didn't realize the connection was trough
httpsand that's why it was running on port4443, exposing that port works:@fsouza commented on GitHub (Mar 28, 2019):
Hey @teone, I think I'll implement a fake--gcs command and containerize that to facilitate testing applications that are not using Go. And would include some docs too. Would that be helpful?
@teone commented on GitHub (Mar 28, 2019):
@fsouza I was waiting to arrive to a more stable point with that but I started looking at that yesterday: https://github.com/teone/gc-fake-storage I'd be happy to contribute this back here if others are interested in it
@fsouza commented on GitHub (Mar 28, 2019):
Oh cool, if you have it I can link it in the README too :)
@teone commented on GitHub (Mar 28, 2019):
Sure I'll send you a PR for that as soon as it's in a decent shape!