https://github.com/ahmetb/cloud-run-deploy-via-api-go
https://github.com/ahmetb/cloud-run-deploy-via-api-go
cloud-run cloudrun
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ahmetb/cloud-run-deploy-via-api-go
- Owner: ahmetb
- License: apache-2.0
- Created: 2021-04-28T20:06:04.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-28T23:15:32.000Z (almost 5 years ago)
- Last Synced: 2025-04-18T01:47:25.662Z (11 months ago)
- Topics: cloud-run, cloudrun
- Language: Go
- Homepage:
- Size: 22.5 KB
- Stars: 18
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Programmatically managing Cloud Run services via API (Go)
This repository shows you how you can use Google Cloud Go client libraries to
manage [Cloud Run](https://cloud.run) services.
**See [main.go](./main.go).**
Agenda:
* How to check if a Cloud Run service exists
* How to create a new Cloud Run service
* How to wait for the service to become "ready"
* How to give IAM permissions to make the service public
* How to release a new Revision and split traffic v1 and v2
* How to delete a service
----
This is not an official code sample and is provided for illustrative
purposes.