puppetlabs-toy-chest / wash

Wide Area SHell: a cloud-native shell for bringing remote infrastructure to your terminal.
https://puppetlabs.github.io/wash
Apache License 2.0
180 stars 29 forks source link

List and view logs for Cloud Run services #612

Closed ekinanp closed 4 years ago

ekinanp commented 4 years ago

Add GCP cloud run services as a Wash resource. Be able to list and delete them, and tail their logs.

API access: https://godoc.org/google.golang.org/api/run/v1

Accessing logs is likely similar to what's done for cloud functions in https://github.com/puppetlabs/wash/blob/master/plugin/gcp/cloudFunctionLog.go. We may be able to re-use some of the streaming logic.