Skip to content

feat: Add GO Plugins - Set/re-set cookies#305

Open
victorwoli wants to merge 17 commits into
GoogleCloudPlatform:mainfrom
victorwoli:set-reset-cookies-go
Open

feat: Add GO Plugins - Set/re-set cookies#305
victorwoli wants to merge 17 commits into
GoogleCloudPlatform:mainfrom
victorwoli:set-reset-cookies-go

Conversation

@victorwoli
Copy link
Copy Markdown
Contributor

This plugin lets you set, reset, or delete a domain cookie before the request reaches the Cloud/Media CDN cache. You can create session cookies or time-based cookies using Apache log format. If a cookie already exists from the origin, the plugin can overwrite it or remove the set-cookie header entirely.

@victorwoli victorwoli requested a review from a team as a code owner January 12, 2026 12:54
@snippet-bot
Copy link
Copy Markdown

snippet-bot Bot commented Jan 12, 2026

Here is the summary of changes.

You are about to add 1 region tag.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

Copy link
Copy Markdown
Collaborator

@mpwarres mpwarres left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@mpwarres
Copy link
Copy Markdown
Collaborator

Looks like there are some build errors, can you fix them?

ERROR: /home/runner/work/service-extensions/service-extensions/plugins/samples/set_reset_cookie/BUILD:14:22: in cc_binary rule //samples/set_reset_cookie:proxy_wasm_plugin_go: 
Traceback (most recent call last):
	File "/virtual_builtins_bzl/common/cc/cc_binary.bzl", line 906, column 59, in _impl
	File "/virtual_builtins_bzl/common/cc/cc_binary.bzl", line 576, column 36, in cc_binary_impl
	File "/virtual_builtins_bzl/common/cc/cc_helper.bzl", line 80, column 25, in _check_srcs_extensions
Error in fail: in srcs attribute of cc_binary rule @//samples/set_reset_cookie:proxy_wasm_plugin_go: source file '@//samples/set_reset_cookie:plugin.go' is misplaced here
ERROR: /home/runner/work/service-extensions/service-extensions/plugins/samples/set_reset_cookie/BUILD:14:22: Analysis of target '//samples/set_reset_cookie:proxy_wasm_plugin_go' failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants