moby--moby/container
Brian Goff 6380e3d939 Refactor attaches `copyEscapable`
`copyEscapable` is a copy/paste of io.Copy with some added handling for
checking for the attach escape sequence.

This removes the copy/paste and uses `io.Copy` directly. To be able to
do this, it now implements an `io.Reader` which proxies to the main
reader but looks for the escape sequence.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2017-01-23 09:09:59 -05:00
..
stream Refactor attaches `copyEscapable` 2017-01-23 09:09:59 -05:00
archive.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
container.go Move attach code to stream package 2017-01-23 09:09:57 -05:00
container_linux.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
container_notlinux.go add SecretMount and UnmountSecrets methods for non-Linux 2016-11-09 14:27:43 -05:00
container_unit_test.go Update `docker stop` and `docker restart` to allow not specifying timeout and use the one specified at container creation time. 2016-10-17 12:53:35 -07:00
container_unix.go Move ReplaceOrAppendEnvValues to container package 2016-12-21 22:42:39 +01:00
container_windows.go Move ReplaceOrAppendEnvValues to container package 2016-12-21 22:42:39 +01:00
env.go Move ReplaceOrAppendEnvValues to container package 2016-12-21 22:42:39 +01:00
env_test.go Move ReplaceOrAppendEnvValues to container package 2016-12-21 22:42:39 +01:00
health.go Fix deadlock on cancelling healthcheck 2016-11-15 20:10:16 -08:00
history.go Release memoryStore locks before filter/apply 2016-05-23 11:45:04 -07:00
memory_store.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
memory_store_test.go Fix some output information for container test 2016-11-24 20:01:00 +08:00
monitor.go Move `StreamConfig` out of `runconfig` 2016-11-14 15:15:09 -05:00
mounts_unix.go Replace execdrivers with containerd implementation 2016-03-18 13:38:32 -07:00
mounts_windows.go Windows libcontainerd implementation 2016-03-18 13:38:41 -07:00
state.go Use WaitWithContext for WaitStop 2016-11-16 22:08:37 -05:00
state_solaris.go Re-export container state's ExitCode and Error fields 2016-08-30 14:17:09 -07:00
state_test.go Fix some output information for container test 2016-11-24 20:01:00 +08:00
state_unix.go Re-export container state's ExitCode and Error fields 2016-08-30 14:17:09 -07:00
state_windows.go Re-export container state's ExitCode and Error fields 2016-08-30 14:17:09 -07:00
store.go Extract container store from the daemon. 2016-01-19 13:21:41 -05:00