google-pubsub-sync

command
v0.0.0-...-b775e56 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2023 License: MIT Imports: 11 Imported by: 0

README

Pubsub-setup script

Nylas maintains this Go script that automatically provisions the correct GCP resources for you so you can enable Google PubSub Message Sync. See the Nylas documentation on PubSub for more information.

Running the script
  1. Switch to the GCP project you want to add PubSub Message Sync to.
gcloud config set project $YOUR_PROJECT_NAME_HERE
  1. Authenticate locally with GCP.
gcloud auth application-default login
  1. Fetch the dependencies.
go get .
  1. Run the program.
go run main.go --projectId $YOUR_PROJECT_NAME_HERE

Flags

Flag name Description Example
projectId The GCP Project to run this script against test-project-id
env The Nylas environment to run against. Valid values are: us, eu, staging us

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL