-
Notifications
You must be signed in to change notification settings - Fork 114
Accessing the gRPC API
Table of Contents
The Emulator implements the Google Cloud Functions gRPC API as defined in https://github.com/googleapis/googleapis/blob/master/google/cloud/functions/v1beta2/functions.proto.
When the Emulator starts, it's gRPC API listens on the host and port as configured in the grpcHost and grpcPort settings, which default to localhost and 8009, respectively. You can see the hostname on which the Emulator's gRPC API is listening by running:
functions status
which should print an entry like this:
├────────────────┼───────────────────────────┤
│ gRPC Service │ http://localhost:8008/ │
├────────────────┼───────────────────────────┤
TODO
TODO
Disclaimer: This is not an official Google product.
@google-cloud/functions-emulator is currently in pre-1.0.0 development. Before the 1.0.0 release, backwards compatible changes and bug fixes will bump the patch version number and breaking changes will bump the minor version number.