moby/integration-cli
Sebastiaan van Stijn 0f871f8cb7
api/types/events: define "Action" type and consts
Define consts for the Actions we use for events, instead of "ad-hoc" strings.
Having these consts makes it easier to find where specific events are triggered,
makes the events less error-prone, and allows documenting each Action (if needed).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-08-29 00:38:08 +02:00
..
checker bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
cli Add t.Helper() to the cli test helper functions 2023-07-13 13:37:26 +02:00
daemon integration-cli: update error-assertions in tests 2023-05-10 22:13:50 +02:00
environment integration-cli: format code with gofumpt 2023-06-29 00:08:27 +02:00
fixtures integration-cli: fix test rogue certs 2022-05-19 10:54:31 +02:00
requirement integration-cli: make testRequires() a Helper 2019-10-09 21:44:22 +02:00
testdata Clean some integration-cli/fixtures package/files 2018-04-16 10:48:58 +02:00
benchmark_test.go integration-cli: split DockerSuite into subsequent build suites 2022-06-17 10:59:04 +02:00
check_test.go integration-cli: use string-literals for easier grep'ing 2023-07-05 12:27:00 +02:00
daemon_swarm_hack_test.go rm-gocheck: run goimports to compile successfully 2019-09-09 21:06:12 +00:00
docker_api_attach_test.go testutil: use dummyhost for non-tcp connections 2023-07-14 18:57:56 +02:00
docker_api_build_test.go integration-cli: format code with gofumpt 2023-06-29 00:08:27 +02:00
docker_api_build_windows_test.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
docker_api_containers_test.go api: ValidateRestartPolicy: improve errors for invalid policies 2023-08-28 14:00:58 +02:00
docker_api_containers_unix_test.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
docker_api_containers_windows_test.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
docker_api_exec_resize_test.go integration-cli: split DockerSuite into subsequent build suites 2022-06-17 10:59:04 +02:00
docker_api_exec_test.go integration-cli: rename vars that collided with imports 2023-04-03 20:01:05 +02:00
docker_api_images_test.go integration: Move image filter tests to integration 2023-07-26 14:33:16 +02:00
docker_api_inspect_test.go integration-cli: format code with gofumpt 2023-06-29 00:08:27 +02:00
docker_api_logs_test.go integration-cli: rename vars that collided with imports 2023-04-03 20:01:05 +02:00
docker_api_network_test.go integration-cli: inline filters in tests 2023-04-25 15:14:27 +02:00
docker_api_stats_test.go api/types: move system info types to api/types/system 2023-07-07 13:01:36 +02:00
docker_api_swarm_node_test.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
docker_api_swarm_service_test.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
docker_api_swarm_test.go vendor: github.com/moby/swarmkit/v2 v2.0.0-20230808164555-1983e41a9fff 2023-08-14 18:39:57 +02:00
docker_api_test.go testutil/environment: remove Execution.OSType field 2023-06-26 11:18:09 +02:00
docker_cli_attach_test.go integration-cli: split DockerSuite into subsequent build suites 2022-06-17 10:59:04 +02:00
docker_cli_attach_unix_test.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
docker_cli_build_test.go integration-cli: use string-literals for easier grep'ing 2023-07-05 12:27:00 +02:00
docker_cli_build_unix_test.go integration-cli: format code with gofumpt 2023-06-29 00:08:27 +02:00
docker_cli_by_digest_test.go integration-cli: fix empty-lines (revive) 2022-09-28 01:58:49 +02:00
docker_cli_commit_test.go integration-cli: use string-literals for easier grep'ing 2023-07-05 12:27:00 +02:00
docker_cli_cp_from_container_test.go integration-cli: format code with gofumpt 2023-06-29 00:08:27 +02:00
docker_cli_cp_test.go integration-cli: format code with gofumpt 2023-06-29 00:08:27 +02:00
docker_cli_cp_to_container_test.go integration-cli: remove isCpCannotCopyReadOnly utility 2022-09-27 22:15:19 +02:00
docker_cli_cp_to_container_unix_test.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
docker_cli_cp_utils_test.go integration-cli: format code with gofumpt 2023-06-29 00:08:27 +02:00
docker_cli_create_test.go testutil/environment: remove Execution.OSType field 2023-06-26 11:18:09 +02:00
docker_cli_daemon_plugins_test.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
docker_cli_daemon_test.go integration-cli: format code with gofumpt 2023-06-29 00:08:27 +02:00
docker_cli_events_test.go api/types/events: define "Action" type and consts 2023-08-29 00:38:08 +02:00
docker_cli_events_unix_test.go integration-cli: use string-literals for easier grep'ing 2023-07-05 12:27:00 +02:00
docker_cli_exec_test.go integration-cli: format code with gofumpt 2023-06-29 00:08:27 +02:00
docker_cli_exec_unix_test.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
docker_cli_external_volume_driver_test.go integration-cli: use plugin Content-Type headers v1.2 2023-08-07 20:38:54 +02:00
docker_cli_health_test.go integration-cli: fix empty-lines (revive) 2022-09-28 01:58:49 +02:00
docker_cli_history_test.go integration-cli: fix empty-lines (revive) 2022-09-28 01:58:49 +02:00
docker_cli_images_test.go integration-cli: format code with gofumpt 2023-06-29 00:08:27 +02:00
docker_cli_import_test.go integration-cli: split DockerSuite into subsequent build suites 2022-06-17 10:59:04 +02:00
docker_cli_info_test.go testutil/environment: remove Execution.OSType field 2023-06-26 11:18:09 +02:00
docker_cli_info_unix_test.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
docker_cli_inspect_test.go testutil/environment: remove Execution.OSType field 2023-06-26 11:18:09 +02:00
docker_cli_links_test.go integration-cli: use string-literals for easier grep'ing 2023-07-05 12:27:00 +02:00
docker_cli_login_test.go integration-cli: split DockerSuite into subsequent build suites 2022-06-17 10:59:04 +02:00
docker_cli_logout_test.go integration-cli: format code with gofumpt 2023-06-29 00:08:27 +02:00
docker_cli_logs_test.go swap logrus types for their containerd/logs aliases 2023-08-01 13:02:55 +02:00
docker_cli_netmode_test.go integration-cli: split DockerSuite into subsequent build suites 2022-06-17 10:59:04 +02:00
docker_cli_network_test.go integration-cli: split DockerSuite into subsequent build suites 2022-06-17 10:59:04 +02:00
docker_cli_network_unix_test.go integration-cli: use plugin Content-Type headers v1.2 2023-08-07 20:38:54 +02:00
docker_cli_plugins_logdriver_test.go integration-cli: rename vars that collided with imports 2023-04-03 20:01:05 +02:00
docker_cli_plugins_test.go integration-cli: format code with gofumpt 2023-06-29 00:08:27 +02:00
docker_cli_port_test.go integration-cli: split DockerSuite into subsequent build suites 2022-06-17 10:59:04 +02:00
docker_cli_proxy_test.go integration-cli: split DockerSuite into subsequent build suites 2022-06-17 10:59:04 +02:00
docker_cli_prune_test.go integration-cli: split DockerSuite into subsequent build suites 2022-06-17 10:59:04 +02:00
docker_cli_prune_unix_test.go integration-cli: format code with gofumpt 2023-06-29 00:08:27 +02:00
docker_cli_ps_test.go integration-cli: use string-literals for easier grep'ing 2023-07-05 12:27:00 +02:00
docker_cli_pull_local_test.go integration-cli: use string-literals for easier grep'ing 2023-07-05 12:27:00 +02:00
docker_cli_pull_test.go integration-cli: fix empty-lines (revive) 2022-09-28 01:58:49 +02:00
docker_cli_push_test.go integration-cli: format code with gofumpt 2023-06-29 00:08:27 +02:00
docker_cli_registry_user_agent_test.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
docker_cli_restart_test.go testutil/environment: remove Execution.OSType field 2023-06-26 11:18:09 +02:00
docker_cli_rmi_test.go testutil/environment: remove Execution.OSType field 2023-06-26 11:18:09 +02:00
docker_cli_run_test.go daemon/create.go: Fix error capitalization 2023-08-10 12:15:34 +02:00
docker_cli_run_unix_test.go integration-cli: format code with gofumpt 2023-06-29 00:08:27 +02:00
docker_cli_save_load_test.go integration-cli: format code with gofumpt 2023-06-29 00:08:27 +02:00
docker_cli_save_load_unix_test.go integration-cli: format code with gofumpt 2023-06-29 00:08:27 +02:00
docker_cli_search_test.go integration-cli: split DockerSuite into subsequent build suites 2022-06-17 10:59:04 +02:00
docker_cli_service_create_test.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
docker_cli_service_health_test.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
docker_cli_service_logs_test.go integration-cli: use string-literals for easier grep'ing 2023-07-05 12:27:00 +02:00
docker_cli_service_scale_test.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
docker_cli_sni_test.go integration-cli: split DockerSuite into subsequent build suites 2022-06-17 10:59:04 +02:00
docker_cli_start_test.go integration-cli: split DockerSuite into subsequent build suites 2022-06-17 10:59:04 +02:00
docker_cli_stats_test.go integration-cli: split DockerSuite into subsequent build suites 2022-06-17 10:59:04 +02:00
docker_cli_swarm_test.go integration-cli: use plugin Content-Type headers v1.2 2023-08-07 20:38:54 +02:00
docker_cli_swarm_unix_test.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
docker_cli_top_test.go testutil/environment: remove Execution.OSType field 2023-06-26 11:18:09 +02:00
docker_cli_update_test.go integration-cli: split DockerSuite into subsequent build suites 2022-06-17 10:59:04 +02:00
docker_cli_update_unix_test.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
docker_cli_userns_test.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
docker_cli_v2_only_test.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
docker_cli_volume_test.go integration-cli: format code with gofumpt 2023-06-29 00:08:27 +02:00
docker_deprecated_api_v124_test.go testutil/environment: remove Execution.OSType field 2023-06-26 11:18:09 +02:00
docker_deprecated_api_v124_unix_test.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
docker_hub_pull_suite_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
docker_utils_test.go integration-cli: format code with gofumpt 2023-06-29 00:08:27 +02:00
events_utils_test.go Switch all logging to use containerd log pkg 2023-06-24 00:23:44 +00:00
fixtures_linux_daemon_test.go integration-cli: format code with gofumpt 2023-06-29 00:08:27 +02:00
requirements_test.go testutil/environment: remove Execution.OSType field 2023-06-26 11:18:09 +02:00
requirements_unix_test.go integration-cli: format code with gofumpt 2023-06-29 00:08:27 +02:00
test_vars_test.go testutil/environment: remove Execution.OSType field 2023-06-26 11:18:09 +02:00
test_vars_unix_test.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
test_vars_windows_test.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
utils_test.go testutil/environment: remove Execution.OSType field 2023-06-26 11:18:09 +02:00
utils_unix_test.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
utils_windows_test.go pkg/system: move GetLongPathName to integration-cli 2022-11-29 17:02:53 +01:00