Sha256: f4b24d87da44b4c0f56c0e2e3949e326670c119e0dd79ddafe530e75c0b90f1a

Contents?: true

Size: 378 Bytes

Versions: 27

Compression:

Stored size: 378 Bytes

Contents

module SOULs
  class CloudRun < Thor
    desc "list", "Show Google Cloud Run List"
    def list
      system("gcloud run services list --platform managed")
    end

    desc "get_endpoint [service_name]", "Show Worker's Endpoint"
    def get_endpoint(service_name)
      `gcloud run services list  --platform managed | grep #{service_name} | awk '{print $4}'`
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
souls-4.1.2 lib/souls/cli/gcloud/run/index.rb
souls-4.1.1 lib/souls/cli/gcloud/run/index.rb
souls-4.1.0 lib/souls/cli/gcloud/run/index.rb
souls-4.0.3 lib/souls/cli/gcloud/run/index.rb
souls-4.0.2 lib/souls/cli/gcloud/run/index.rb
souls-4.0.1 lib/souls/cli/gcloud/run/index.rb
souls-4.0.0 lib/souls/cli/gcloud/run/index.rb
souls-3.0.8 lib/souls/cli/gcloud/run/index.rb
souls-3.0.7 lib/souls/cli/gcloud/run/index.rb
souls-3.0.6 lib/souls/cli/gcloud/run/index.rb
souls-3.0.5 lib/souls/cli/gcloud/run/index.rb
souls-3.0.4 lib/souls/cli/gcloud/run/index.rb
souls-3.0.3 lib/souls/cli/gcloud/run/index.rb
souls-3.0.2 lib/souls/cli/gcloud/run/index.rb
souls-3.0.1 lib/souls/cli/gcloud/run/index.rb
souls-3.0.0 lib/souls/cli/gcloud/run/index.rb
souls-2.0.4 lib/souls/cli/gcloud/run/index.rb
souls-2.0.3 lib/souls/cli/gcloud/run/index.rb
souls-2.0.2 lib/souls/cli/gcloud/run/index.rb
souls-2.0.1 lib/souls/cli/gcloud/run/index.rb