프로젝트
GitHub에서 보기
GoogleCloudPlatform/cloud-run-samples
소개
Samples for Cloud Run
시스템 및 인프라측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalCloud Run Samples
This repository contains sample applications used in Cloud Run documentation.
Sample Index
For all Cloud Run code samples, see the Cloud Run sample browser.
| Sample | Description | Languages |
|---|---|---|
| Hello World service | Hello World! A quickstart sample collection | Go, Node.js, Python, Java, PHP, Ruby, Shell, C++ |
| Hello World job | Job quickstart samples | Go, Node.js, Python, Java, Shell |
| Manual Logging | Structured logging without client library | Go, Node.js, Python, Java |
| System Package | Use system-installed binaries. | Go, Node.js, Java, Python |
| Pub/Sub Push | Handle messages from a push subscription | Go, Node.js, Python, Java |
| Image Processing | Event-driven image analysis & transformation | Go, Node.js, Python, Java |
| Cloud SQL (MySQL) | Use MySQL with Cloud Run | Node.js, Python, Java |
| Cloud SQL (Postgres) | Use Postgres with Cloud Run | Node.js, Python, Java |
| Global State | Snippet: Using global state for in-memory caching | Go, Nodejs, Python, Java |
| Lazy Initialization | Snippet: Lazy loading faster cold start | Go, Nodejs, Python, Java |
| Hello Broken | "Broken" service for troubleshooting. | Go, Node.js, Java, Python |
| End user authentication | Integrate with Identity Platform to restrict access | Node.js, Java, Python |
| Invoking with gRPC | Demonstrates service-to-service gRPC requests | Go |
| Service to Service Request | Snippet: Authenticated requests between services | Go, Node.js, Python, Java |
| gcloud as a service | Use gcloud and gcloud storage in a service |
Go |
| VPC Testing | Egress and ingress settings with VPC | Python |
| Multi-container Hello Nginx | Multi-containers with nginx | YAML |
| Markdown Preview | 2 tier secure microservices for Markdown rendering | Go, Nodejs, Python, Java |
Samples by Language: nodejs, golang, python, java, php, ruby
Deploy a sample with a button click!
The Cloud Run Button makes your Cloud Run service deployable with the push of a button. (It will open a Cloud Shell window.)
| Sample | Cloud Run Button | Details from the Cloud Run Documentation |
|---|---|---|
| Hello World - Python | Quickstart: build and deploy | |
| Hello World - Java | Quickstart: build and deploy | |
| Hello World - Node.js | Quickstart: build and deploy | |
| Hello World - Go | Quickstart: build and deploy |
Find more samples to deploy with the Cloud Run Button by using the Sample Index above.
Contributing changes
Entirely new samples are not accepted. Bug fixes are welcome, either as pull requests or as GitHub issues.
See CONTRIBUTING.md for details on how to contribute.
Licensing
Code in this repository is licensed under the Apache 2.0. See LICENSE.
관련 프로젝트 살펴보기
불러오는 중…