service-extensions

module
v0.0.0-...-09182c7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2025 License: Apache-2.0

README

Google Cloud Service Extensions Samples

Recipes and code samples for Google Cloud Service Extensions.

Service Extensions offers two types of extensions:

  • Plugin extensions: extensions that let you insert custom code inline in the networking data path. You build these plugins by using WebAssembly (Wasm) and Proxy-Wasm ABI. Plugin extensions run as Wasm modules on a Google-managed sandbox infrastructure similar to a serverless infrastructure.

    Media CDN supports plugin extensions.

    Example recipes are found in the plugins subdirectory.

  • Callout extensions: extensions that let you use Cloud Load Balancing to make gRPC calls to user-managed services during data processing. You write callout extensions against Envoy's external processing gRPC API. Callout extensions run as general-purpose gRPC servers on user-managed compute VMs and Google Kubernetes Engine Pods on Google Cloud, multicloud, or on-premises environments.

    Cloud Load Balancing Application Load Balancers support callout extensions.

All Service Extensions allow you to insert custom code inline in the networking data path.

License

All recipes and samples within this repository are provided under the Apache 2.0 license. Please see the LICENSE file for more detailed terms and conditions.

Code of Conduct

For our code of conduct, see Code of Conduct.

Contributing

Contributions welcome! See the Contributing Guide.

Directories

Path Synopsis
plugins
samples/ab_testing
[START serviceextensions_plugin_ab_testing]
[START serviceextensions_plugin_ab_testing]
samples/add_custom_response
[START serviceextensions_plugin_add_custom_response]
[START serviceextensions_plugin_add_custom_response]
samples/add_request_header
[START serviceextensions_plugin_add_request_header]
[START serviceextensions_plugin_add_request_header]
samples/add_response_header
[START serviceextensions_plugin_add_repoonse_header]
[START serviceextensions_plugin_add_repoonse_header]
samples/check_pii
[START serviceextensions_plugin_check_pii]
[START serviceextensions_plugin_check_pii]
samples/docs_first_plugin
[START serviceextensions_plugin_docs_first_plugin]
[START serviceextensions_plugin_docs_first_plugin]
samples/docs_plugin_config
[START serviceextensions_plugin_docs_plugin_config]
[START serviceextensions_plugin_docs_plugin_config]
samples/jwt_auth
[START serviceextensions_plugin_jwt_auth]
[START serviceextensions_plugin_jwt_auth]
samples/log_query
[START serviceextensions_plugin_log_query]
[START serviceextensions_plugin_log_query]
samples/normalize_header
[START serviceextensions_plugin_normalize_header]
[START serviceextensions_plugin_normalize_header]
samples/overwrite_errcode
[START serviceextensions_plugin_overwrite_errcode]
[START serviceextensions_plugin_overwrite_errcode]
samples/overwrite_header
[START serviceextensions_plugin_overwrite_header]
[START serviceextensions_plugin_overwrite_header]
samples/redirect
[START serviceextensions_plugin_redirect]
[START serviceextensions_plugin_redirect]
samples/regex_rewrite
[START serviceextensions_plugin_regex_rewrite]
[START serviceextensions_plugin_regex_rewrite]
samples/remove_cookie
[START serviceextensions_plugin_remove_setcookie]
[START serviceextensions_plugin_remove_setcookie]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL