helm/internal/plugin
Scott Rigby be74ab72a0
[HIP-0026] Plugin runtime interface (#31145)
* Runtime abstraction to encapsulate subprocess code and enable future runtimes

Also fix race condition in TestPrepareCommandExtraArgs by replacing the shared variable modification with a local copy

Co-authored-by: George Jenkins <gvjenkins@gmail.com>
Signed-off-by: Scott Rigby <scott@r6by.com>

* Remove commented out code

Co-authored-by: Joe Julian <me@joejulian.name>
Signed-off-by: Scott Rigby <scott@r6by.com>

* Check test failure string

Co-authored-by: Jesse Simpson <jesse.simpson36@gmail.com>
Signed-off-by: Scott Rigby <scott@r6by.com>

---------

Signed-off-by: Scott Rigby <scott@r6by.com>
Co-authored-by: George Jenkins <gvjenkins@gmail.com>
Co-authored-by: Joe Julian <me@joejulian.name>
Co-authored-by: Jesse Simpson <jesse.simpson36@gmail.com>
2025-08-22 16:12:49 -04:00
..
cache Move pkg/plugin -> internal/plugin 2025-08-16 22:58:54 -07:00
installer [HIP-0026] Plugin runtime interface (#31145) 2025-08-22 16:12:49 -04:00
schema [HIP-0026] Plugin runtime interface (#31145) 2025-08-22 16:12:49 -04:00
testdata/plugdir [HIP-0026] Plugin runtime interface (#31145) 2025-08-22 16:12:49 -04:00
config.go [HIP-0026] Plugin runtime interface (#31145) 2025-08-22 16:12:49 -04:00
descriptor.go [HIP-0026] Plugin runtime interface (#31145) 2025-08-22 16:12:49 -04:00
doc.go [HIP-0026] Plugin runtime interface (#31145) 2025-08-22 16:12:49 -04:00
error.go [HIP-0026] Plugin runtime interface (#31145) 2025-08-22 16:12:49 -04:00
loader.go [HIP-0026] Plugin runtime interface (#31145) 2025-08-22 16:12:49 -04:00
loader_test.go [HIP-0026] Plugin runtime interface (#31145) 2025-08-22 16:12:49 -04:00
metadata.go [HIP-0026] Plugin runtime interface (#31145) 2025-08-22 16:12:49 -04:00
metadata_legacy.go [HIP-0026] Plugin runtime interface (#31145) 2025-08-22 16:12:49 -04:00
metadata_test.go [HIP-0026] Plugin runtime interface (#31145) 2025-08-22 16:12:49 -04:00
plugin.go [HIP-0026] Plugin runtime interface (#31145) 2025-08-22 16:12:49 -04:00
plugin_test.go [HIP-0026] Plugin runtime interface (#31145) 2025-08-22 16:12:49 -04:00
runtime.go [HIP-0026] Plugin runtime interface (#31145) 2025-08-22 16:12:49 -04:00
runtime_subprocess.go [HIP-0026] Plugin runtime interface (#31145) 2025-08-22 16:12:49 -04:00
runtime_subprocess_getter.go [HIP-0026] Plugin runtime interface (#31145) 2025-08-22 16:12:49 -04:00
runtime_subprocess_hooks.go [HIP-0026] Plugin runtime interface (#31145) 2025-08-22 16:12:49 -04:00
runtime_subprocess_test.go [HIP-0026] Plugin runtime interface (#31145) 2025-08-22 16:12:49 -04:00
subprocess_commands.go [HIP-0026] Plugin runtime interface (#31145) 2025-08-22 16:12:49 -04:00
subprocess_commands_test.go [HIP-0026] Plugin runtime interface (#31145) 2025-08-22 16:12:49 -04:00