moby--moby/container
Brian Goff ebcb7d6b40 Remove string checking in API error handling
Use strongly typed errors to set HTTP status codes.
Error interfaces are defined in the api/errors package and errors
returned from controllers are checked against these interfaces.

Errors can be wraeped in a pkg/errors.Causer, as long as somewhere in the
line of causes one of the interfaces is implemented. The special error
interfaces take precedence over Causer, meaning if both Causer and one
of the new error interfaces are implemented, the Causer is not
traversed.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2017-08-15 16:01:11 -04:00
..
stream Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
archive.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
container.go Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
container_linux.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
container_notlinux.go support custom paths for secrets 2017-05-10 10:23:07 -07:00
container_unit_test.go LCOW: Remove CommonContainer - just Container 2017-06-20 08:55:46 -07:00
container_unix.go Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
container_windows.go Implement none, private, and shareable ipc modes 2017-08-14 10:50:39 +03:00
env.go Move ReplaceOrAppendEnvValues to container package 2016-12-21 22:42:39 +01:00
env_test.go api: clarify that Env var without `=` is removed from the environment 2017-03-08 04:27:25 +00:00
health.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07: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 Update logrus to v1.0.1 2017-07-31 13:16:46 -07: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 Keep pause state when restoring container's status 2017-07-12 16:25:17 +08:00
state_solaris.go Re-export container state's ExitCode and Error fields 2016-08-30 14:17:09 -07:00
state_test.go Update ContainerWait API 2017-05-16 15:11:39 -07: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
view.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
view_test.go container: Fix Delete on nonexistent container 2017-07-26 16:45:54 -07:00