Emulation engine for GCP
clocal-gcp provides an easy-to-use test/mocking framework for developing Cloud applications.
Currently features are under development.
$ git clone https://github.com/cloudlibz/clocal-gcp.git
$ cd clocal-gcp
$ yarn
$ yarn start <command>
-
start clocal-gcp function emulator
- func start
- func stop
- func deploy
- func call
- func list
- func delete
-
start clocal-gcp storage emulator
- storage start
- storage stop
- storage create
- storage delete
- storage cp
- storage ls
-
start clocal-gcp memcache emulator
- mem start
- mem stop
-
start clocal-gcp pubsub emulator
- pubsub start
- pubsub stop
-
start clocal-gcp datastore emulator
- datastore start
- datastore stop
-
start clocal-gcp bigtable emulator
- bigtable start
- bigtable stop
-
start clocal-gcp firestore emulator
- firestore start
- firestore stop
In development replace clocal-gcp with 'npm start' or 'yarn start'
* clocal-gcp func start
* npm start func start
clocal-gcp spins up the following core Cloud APIs on your local machine:
- Cloud Functions at http://localhost:8000
- Cloud Storage at http://localhost:8001
- Cloud MemoryStore at http://localhost:7070
- Cloud PubSub at http://localhost:8085
- Cloud DataStore at http://localhost:8081
- Cloud FireStore at http://localhost:8086
- Cloud BigTable at http://localhost:8087