DockerCLI/cli-plugins
Laura Brehm 5011759056
hooks: set expected environment when executing
During normal plugin execution (from the CLI), the CLI configures the
plugin command it's about to execute in order to pass all environment
variables on, as well as to set the ReExec env var that informs the
plugin about how it was executed, and which plugins rely on to check
whether they are being run standalone or not.

This commit adds the same behavior to hook invocations, which is
necessary for some plugins to know that they are not running standalone
so that they expose their root command at the correct level.

Signed-off-by: Laura Brehm <laurabrehm@hey.com>
2024-04-17 16:57:44 +01:00
..
examples/helloworld cli-plugins: helloworld: rename var that collided with import 2024-01-11 22:25:15 +01:00
hooks plugins/templates: break on newlines when printing hooks 2024-04-15 12:59:53 +01:00
manager hooks: set expected environment when executing 2024-04-17 16:57:44 +01:00
plugin command: include default otel error handler for the cli 2024-04-03 12:01:28 -05:00
socket plugin: drop explicit unlink 2024-03-22 10:12:40 -06:00