Class: SOULs::CloudRun
- Inherits:
-
Thor
- Object
- Thor
- SOULs::CloudRun
- Defined in:
- lib/souls/cli/gcloud/run/index.rb
Instance Method Summary collapse
Instance Method Details
#get_endpoint(service_name) ⇒ Object
9 10 11 |
# File 'lib/souls/cli/gcloud/run/index.rb', line 9 def get_endpoint(service_name) `gcloud run services list --platform managed | grep #{service_name} | awk '{print $4}'` end |
#list ⇒ Object
4 5 6 |
# File 'lib/souls/cli/gcloud/run/index.rb', line 4 def list system("gcloud run services list --platform managed") end |