1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/integration-cli
Liron Levin 5ffc810df2 Fix 19575: Docker events doesn't work with authorization plugin
To support the requirement of blocking the request after the daemon
responded the authorization plugin use a `response recorder` that replay
the response after the flow ends.

This commit adds support for commands that hijack the connection and
flushes data via the http.Flusher interface. This resolves the error
with the event endpoint.

Signed-off-by: Liron Levin <liron@twistlock.com>
2016-02-05 22:30:01 +02:00
..
fixtures Fix for zero-sized layers 2015-11-25 18:02:03 -08:00
check_test.go Fix integration-cli suite setup requirements 2016-01-29 16:35:20 -05:00
docker_api_attach_test.go Fix typos found across repository 2015-12-13 18:04:12 +02:00
docker_api_build_test.go
docker_api_containers_test.go Fix flaky test TestGetContainerStatsRmRunning 2016-01-31 15:34:22 +08:00
docker_api_create_test.go Fix error message in container creation 2016-01-25 11:45:20 -08:00
docker_api_events_test.go Add event types. 2015-12-30 17:39:33 -05:00
docker_api_exec_resize_test.go Remove exec-driver global daemon option. 2015-11-05 17:09:58 -05:00
docker_api_exec_test.go Windows CI: Port TestExecApi* tests 2016-01-28 16:26:06 -08:00
docker_api_images_test.go Assert error in body of function inspectField* 2016-01-29 23:39:07 +08:00
docker_api_info_test.go Added additional container information to "docker info". 2016-01-11 19:14:44 -05:00
docker_api_inspect_test.go Windows CI: PortTestInspectApi* 2016-01-26 20:23:40 -08:00
docker_api_inspect_unix_test.go Checkers on docker_api_inspect_unix_test.go 2015-11-23 22:03:14 -05:00
docker_api_logs_test.go
docker_api_network_test.go Windows CI: Turn off network API tests 2016-01-08 12:58:54 -08:00
docker_api_resize_test.go
docker_api_stats_test.go Optimize TestApiStatsNetworkStats and TestApiStatsNetworkStatsVersioning 2016-02-01 10:26:27 +08:00
docker_api_test.go pkg/version.Version: use the new String() method 2015-12-18 15:29:32 -05:00
docker_api_update_unix_test.go Assert error in body of function inspectField* 2016-01-29 23:39:07 +08:00
docker_api_version_test.go Modify import paths to point to the new engine-api package. 2016-01-06 19:48:59 -05:00
docker_api_volumes_test.go Modify import paths to point to the new engine-api package. 2016-01-06 19:48:59 -05:00
docker_cli_attach_test.go Assert error in body of function inspectField* 2016-01-29 23:39:07 +08:00
docker_cli_attach_unix_test.go Assert error in body of function inspectField* 2016-01-29 23:39:07 +08:00
docker_cli_authz_unix_test.go Fix 19575: Docker events doesn't work with authorization plugin 2016-02-05 22:30:01 +02:00
docker_cli_build_test.go Merge pull request #19695 from Microsoft/10662-TestBuildCI2 2016-02-01 16:29:52 +01:00
docker_cli_build_unix_test.go Assert error in body of function inspectField* 2016-01-29 23:39:07 +08:00
docker_cli_by_digest_test.go Assert error in body of function inspectField* 2016-01-29 23:39:07 +08:00
docker_cli_commit_test.go Assert error in body of function inspectField* 2016-01-29 23:39:07 +08:00
docker_cli_config_test.go dockerversion placeholder for library import 2015-11-09 19:32:46 +01:00
docker_cli_cp_from_container_test.go
docker_cli_cp_test.go Windows CI: Deal with failing tests for TP4 2016-01-08 13:49:43 -08:00
docker_cli_cp_to_container_test.go Fix typos found across repository 2015-12-13 18:04:12 +02:00
docker_cli_cp_utils.go
docker_cli_create_test.go Windows CI: TestCreate* porting 2016-02-02 16:00:39 -08:00
docker_cli_daemon_test.go Add regression tests for client debug flag. 2016-02-02 16:57:36 -05:00
docker_cli_diff_test.go *: purge dockerinit from source code 2016-01-26 23:47:02 +11:00
docker_cli_events_test.go Merge pull request #19761 from HackToday/enhancesortattr 2016-02-02 16:08:23 -08:00
docker_cli_events_unix_test.go Assert error in body of function inspectField* 2016-01-29 23:39:07 +08:00
docker_cli_exec_test.go Merge pull request #19822 from Microsoft/jjh/testexeccli 2016-02-02 08:32:28 +01:00
docker_cli_exec_unix_test.go Probably fix flaky test TestExecTTY 2015-12-10 04:13:58 -05:00
docker_cli_experimental_test.go Remove exec-driver global daemon option. 2015-11-05 17:09:58 -05:00
docker_cli_export_import_test.go
docker_cli_external_graphdriver_unix_test.go Add test to make sure raw logs are properly activated. 2016-02-01 16:52:31 -05:00
docker_cli_help_test.go Allow to set daemon and server configurations in a file. 2016-01-14 16:44:37 -05:00
docker_cli_history_test.go Temporarily removing TestBuildHistory on Windows for perf reasons 2016-01-28 13:42:02 -08:00
docker_cli_images_test.go Fix image filter 2016-01-14 08:17:40 +00:00
docker_cli_import_test.go
docker_cli_info_test.go Add regression tests for client debug flag. 2016-02-02 16:57:36 -05:00
docker_cli_inspect_experimental_test.go Assert error in body of function inspectField* 2016-01-29 23:39:07 +08:00
docker_cli_inspect_test.go Assert error in body of function inspectField* 2016-01-29 23:39:07 +08:00
docker_cli_kill_test.go Assert error in body of function inspectField* 2016-01-29 23:39:07 +08:00
docker_cli_links_test.go Assert error in body of function inspectField* 2016-01-29 23:39:07 +08:00
docker_cli_links_unix_test.go
docker_cli_login_test.go integration-cli: add suite for testing registries with auth 2016-01-24 01:02:49 +01:00
docker_cli_logs_test.go Move timeutils functions to the only places where they are used. 2015-12-15 14:56:14 -05:00
docker_cli_nat_test.go Assert error in body of function inspectField* 2016-01-29 23:39:07 +08:00
docker_cli_netmode_test.go
docker_cli_network_unix_test.go Add integration test for network host bind option 2016-02-02 18:01:04 +08:00
docker_cli_oom_killed_test.go Assert error in body of function inspectField* 2016-01-29 23:39:07 +08:00
docker_cli_pause_test.go Windows CI: Deal with failing tests for TP4 2016-01-08 13:49:43 -08:00
docker_cli_port_test.go Move port-mapping ownership closer to Sandbox (from Endpoint) 2016-01-26 03:59:03 -08:00
docker_cli_proxy_test.go
docker_cli_ps_test.go Windows CI: TP4 reliability hack 2016-02-01 18:02:57 -08:00
docker_cli_pull_local_test.go Merge pull request #19424 from aaronlehmann/revert-multiple-pull-errors 2016-01-19 09:51:54 -05:00
docker_cli_pull_test.go Revert reporting of multiple pull errors 2016-01-18 15:49:08 -08:00
docker_cli_pull_trusted_test.go Assert error in body of function inspectField* 2016-01-29 23:39:07 +08:00
docker_cli_push_test.go Update integration tests with new error messages, and to use different repos per test. 2016-01-26 18:02:00 -08:00
docker_cli_rename_test.go Assert error in body of function inspectField* 2016-01-29 23:39:07 +08:00
docker_cli_restart_test.go Assert error in body of function inspectField* 2016-01-29 23:39:07 +08:00
docker_cli_rm_test.go Windows CI: Port docker_cli_rm_test.go 2016-02-02 18:43:50 -08:00
docker_cli_rmi_test.go Assert error in body of function inspectField* 2016-01-29 23:39:07 +08:00
docker_cli_run_test.go Fix windows CI test 2016-02-02 04:54:14 +00:00
docker_cli_run_unix_test.go Merge pull request #19725 from WeiZhang555/opt-TestRunSeccompDefaultProfile 2016-02-01 16:01:51 -05:00
docker_cli_save_load_test.go Assert error in body of function inspectField* 2016-01-29 23:39:07 +08:00
docker_cli_save_load_unix_test.go Assert error in body of function inspectField* 2016-01-29 23:39:07 +08:00
docker_cli_search_test.go
docker_cli_sni_test.go Disable flakey TestClientSetsTLSServerName 2016-02-02 19:56:31 -08:00
docker_cli_start_test.go Windows CI: Port docker_cli_start_test.go 2016-02-02 18:23:29 -08:00
docker_cli_start_volume_driver_unix_test.go Assert error in body of function inspectField* 2016-01-29 23:39:07 +08:00
docker_cli_stats_test.go Windows: Turn off stats 2016-02-02 17:59:11 -08:00
docker_cli_tag_test.go Assert error in body of function inspectField* 2016-01-29 23:39:07 +08:00
docker_cli_top_test.go
docker_cli_update_unix_test.go Assert error in body of function inspectField* 2016-01-29 23:39:07 +08:00
docker_cli_v2_only_test.go integration-cli: add _test suffix to test file 2015-11-30 11:33:57 +01:00
docker_cli_version_test.go Build and test Docker on IBM Power and Z using gccgo. Enable CI on Power and Z. 2015-11-14 03:16:45 +00:00
docker_cli_volume_driver_compat_unix_test.go Add back compat for volume drivers Get and Ls 2016-01-22 22:48:17 -05:00
docker_cli_volume_test.go Make volume dangling filter return only used volumes with dangling=false. 2016-01-25 16:26:51 -05:00
docker_cli_wait_test.go
docker_hub_pull_suite_test.go
docker_test_vars.go Windows CI: Initial porting CLI TestExec* 2016-02-01 10:19:21 -08:00
docker_utils.go Add test to make sure raw logs are properly activated. 2016-02-01 16:52:31 -05:00
events_utils.go Fix channel closing race in event tests. 2016-01-22 13:31:46 -05:00
registry.go integration-cli: add suite for testing registries with auth 2016-01-24 01:02:49 +01:00
registry_mock.go integration-cli: log error when starting registry 2016-01-11 20:16:13 +01:00
requirements.go Fix test requirement for ARM 2016-01-19 15:23:46 -05:00
requirements_unix.go check seccomp is configured in the kernel 2016-01-12 09:45:21 -08:00
test_vars_exec.go
test_vars_noexec.go
test_vars_noseccomp.go Allow non-seccomp platforms to pass integration-cli tests 2015-12-07 20:14:52 -05:00
test_vars_seccomp.go Allow non-seccomp platforms to pass integration-cli tests 2015-12-07 20:14:52 -05:00
test_vars_unix.go Factorize sleeping containers 2016-01-27 08:48:08 -08:00
test_vars_windows.go Factorize sleeping containers 2016-01-27 08:48:08 -08:00
trust_server.go Fix DockerTrustSuite SetUpTest 2016-01-19 16:45:47 -08:00
utils.go