DockerCLI/e2e/cli-plugins
Sebastiaan van Stijn 86162f7816
feat: use main func ctx for cobra and use ctx in tests
Explicitly create the context and set it on the CLI, instead of depending on
NewDockerCli() to instance a default context.

Co-authored-by: Sebastiaan van Stijn <github@gone.nl>
Co-authored-by: Alano Terblanche <18033717+Benehiko@users.noreply.github.com>

Signed-off-by: Alano Terblanche <18033717+Benehiko@users.noreply.github.com>
2024-04-25 12:00:31 +02:00
..
plugins feat: use main func ctx for cobra and use ctx in tests 2024-04-25 12:00:31 +02:00
testdata Replace tab with spaces in usage output 2020-10-02 15:41:17 +02:00
config_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-23 00:28:55 +01:00
dial_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-23 00:28:55 +01:00
flags_test.go format code with gofumpt 2022-09-30 11:59:11 +02:00
help_test.go chore: `docker help` should not show plugin vendor and version 2024-02-29 08:47:18 +01:00
main_test.go e2e: Add a TestMain for cli plugins tests 2019-04-03 15:06:34 +01:00
run_test.go load plugin command stubs when required 2023-03-28 06:16:55 +02:00
socket_test.go tests: add plugin-socket-compatibility tests 2024-01-29 13:39:58 +00:00
util_test.go golangci-lint: enable thelper linter 2023-11-20 16:02:17 +01:00