Skip to content

Commit

Permalink
feat(functions): add READMEs to defragged files (#8791)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ace Nassri authored Dec 7, 2022
1 parent 13c35ef commit 2be381f
Show file tree
Hide file tree
Showing 10 changed files with 112 additions and 0 deletions.
10 changes: 10 additions & 0 deletions functions/concepts-after-timeout/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<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"/>

# Google Cloud Functions - Timeout sample

See:

* [Cloud Functions Execution Timeline][tutorial]
* [Sample Code](main.py)

[tutorial]: https://cloud.google.com/functions/docs/concepts/execution-environment#execution-timeline
10 changes: 10 additions & 0 deletions functions/concepts-filesystem/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<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"/>

# Google Cloud Functions - Filesystem sample

See:

* [Cloud Functions Filesystem][tutorial]
* [Sample Code](main.py)

[tutorial]: https://cloud.google.com/functions/docs/concepts/execution-environment#memory-file-system
10 changes: 10 additions & 0 deletions functions/concepts-requests/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<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"/>

# Google Cloud Functions - Requests sample

See:

* [Cloud Functions Networking][tutorial]
* [Sample Code](main.py)

[tutorial]: https://cloud.google.com/functions/docs/concepts/execution-environment#network
10 changes: 10 additions & 0 deletions functions/concepts-stateless/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<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"/>

# Google Cloud Functions - Statelessness sample

See:

* [Cloud Functions Statelessness][tutorial]
* [Sample Code](main.py)

[tutorial]: https://cloud.google.com/functions/docs/concepts/execution-environment#statelessness
12 changes: 12 additions & 0 deletions functions/tips-avoid-infinite-retries/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<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"/>

# Google Cloud Functions - Avoiding Infinite Retries sample

## More info
See:

* [Retrying Event-Driven Functions][tutorial]
* [Sample code][code]

[tutorial]: https://cloud.google.com/functions/docs/bestpractices/retries#set_an_end_condition_to_avoid_infinite_retry_loops
[code]: main.py
12 changes: 12 additions & 0 deletions functions/tips-connection-pooling/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<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"/>

# Google Cloud Functions - Connection Pooling sample

## More info
See:

* [Optimizing Networking][tutorial]
* [Sample code][code]

[tutorial]: https://cloud.google.com/functions/docs/bestpractices/networking#maintaining_persistent_connections
[code]: main.py
12 changes: 12 additions & 0 deletions functions/tips-gcp-apis/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<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"/>

# Google Cloud Functions - GCP APIs sample

## More info
See:

* [Optimizing Networking][tutorial]
* [Sample code][code]

[tutorial]: https://cloud.google.com/functions/docs/bestpractices/networking#maintaining_persistent_connections
[code]: main.py
12 changes: 12 additions & 0 deletions functions/tips-lazy-globals/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<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"/>

# Google Cloud Functions - Lazy Globals sample

## More info
See:

* [Tips & Tricks for Cloud Functions][tutorial]
* [Sample code][code]

[tutorial]: https://cloud.google.com/functions/docs/bestpractices/tips#use_global_variables_to_reuse_objects_in_future_invocations
[code]: main.py
12 changes: 12 additions & 0 deletions functions/tips-retry/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<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"/>

# Google Cloud Functions - Retries sample

## More info
See:

* [Retrying Event-Driven Functions][tutorial]
* [Sample code][code]

[tutorial]: https://cloud.google.com/functions/docs/bestpractices/retries
[code]: main.py
12 changes: 12 additions & 0 deletions functions/tips-scopes/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<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"/>

# Google Cloud Functions - Variable Scope sample

## More info
See:

* [Cloud Functions Execution Environment][tutorial]
* [Sample code][code]

[tutorial]: https://cloud.google.com/functions/docs/concepts/execution-environment#scope
[code]: main.py

0 comments on commit 2be381f

Please sign in to comment.