Skip to content

Commit 2be381f

Browse files
author
Ace Nassri
authored
feat(functions): add READMEs to defragged files (#8791)
1 parent 13c35ef commit 2be381f

File tree

10 files changed

+112
-0
lines changed

10 files changed

+112
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Google Cloud Platform" align="right" height="96" width="96"/>
2+
3+
# Google Cloud Functions - Timeout sample
4+
5+
See:
6+
7+
* [Cloud Functions Execution Timeline][tutorial]
8+
* [Sample Code](main.py)
9+
10+
[tutorial]: https://cloud.google.com/functions/docs/concepts/execution-environment#execution-timeline
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Google Cloud Platform" align="right" height="96" width="96"/>
2+
3+
# Google Cloud Functions - Filesystem sample
4+
5+
See:
6+
7+
* [Cloud Functions Filesystem][tutorial]
8+
* [Sample Code](main.py)
9+
10+
[tutorial]: https://cloud.google.com/functions/docs/concepts/execution-environment#memory-file-system
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Google Cloud Platform" align="right" height="96" width="96"/>
2+
3+
# Google Cloud Functions - Requests sample
4+
5+
See:
6+
7+
* [Cloud Functions Networking][tutorial]
8+
* [Sample Code](main.py)
9+
10+
[tutorial]: https://cloud.google.com/functions/docs/concepts/execution-environment#network
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Google Cloud Platform" align="right" height="96" width="96"/>
2+
3+
# Google Cloud Functions - Statelessness sample
4+
5+
See:
6+
7+
* [Cloud Functions Statelessness][tutorial]
8+
* [Sample Code](main.py)
9+
10+
[tutorial]: https://cloud.google.com/functions/docs/concepts/execution-environment#statelessness
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Google Cloud Platform" align="right" height="96" width="96"/>
2+
3+
# Google Cloud Functions - Avoiding Infinite Retries sample
4+
5+
## More info
6+
See:
7+
8+
* [Retrying Event-Driven Functions][tutorial]
9+
* [Sample code][code]
10+
11+
[tutorial]: https://cloud.google.com/functions/docs/bestpractices/retries#set_an_end_condition_to_avoid_infinite_retry_loops
12+
[code]: main.py
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Google Cloud Platform" align="right" height="96" width="96"/>
2+
3+
# Google Cloud Functions - Connection Pooling sample
4+
5+
## More info
6+
See:
7+
8+
* [Optimizing Networking][tutorial]
9+
* [Sample code][code]
10+
11+
[tutorial]: https://cloud.google.com/functions/docs/bestpractices/networking#maintaining_persistent_connections
12+
[code]: main.py

functions/tips-gcp-apis/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Google Cloud Platform" align="right" height="96" width="96"/>
2+
3+
# Google Cloud Functions - GCP APIs sample
4+
5+
## More info
6+
See:
7+
8+
* [Optimizing Networking][tutorial]
9+
* [Sample code][code]
10+
11+
[tutorial]: https://cloud.google.com/functions/docs/bestpractices/networking#maintaining_persistent_connections
12+
[code]: main.py
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Google Cloud Platform" align="right" height="96" width="96"/>
2+
3+
# Google Cloud Functions - Lazy Globals sample
4+
5+
## More info
6+
See:
7+
8+
* [Tips & Tricks for Cloud Functions][tutorial]
9+
* [Sample code][code]
10+
11+
[tutorial]: https://cloud.google.com/functions/docs/bestpractices/tips#use_global_variables_to_reuse_objects_in_future_invocations
12+
[code]: main.py

functions/tips-retry/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Google Cloud Platform" align="right" height="96" width="96"/>
2+
3+
# Google Cloud Functions - Retries sample
4+
5+
## More info
6+
See:
7+
8+
* [Retrying Event-Driven Functions][tutorial]
9+
* [Sample code][code]
10+
11+
[tutorial]: https://cloud.google.com/functions/docs/bestpractices/retries
12+
[code]: main.py

functions/tips-scopes/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Google Cloud Platform" align="right" height="96" width="96"/>
2+
3+
# Google Cloud Functions - Variable Scope sample
4+
5+
## More info
6+
See:
7+
8+
* [Cloud Functions Execution Environment][tutorial]
9+
* [Sample code][code]
10+
11+
[tutorial]: https://cloud.google.com/functions/docs/concepts/execution-environment#scope
12+
[code]: main.py

0 commit comments

Comments
 (0)