moby/opts
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
..
env.go Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
env_test.go Clean some stuff from runconfig that are cli only… 2016-12-24 13:16:00 +01:00
hosts.go Merge pull request #29697 from yuexiao-wang/fix-docker-daemon 2017-01-04 11:55:38 +01:00
hosts_test.go Clean some stuff from runconfig that are cli only… 2016-12-24 13:16:00 +01:00
hosts_unix.go Finish linting opts and trust package. 2015-08-27 17:36:11 +02:00
hosts_windows.go Windows: Default to npipe transport 2016-03-01 18:27:01 -08:00
ip.go Spelling fixes 2017-07-03 13:13:09 -07:00
ip_test.go golint: trust 2015-08-27 11:40:27 +02:00
opts.go Added support for Generic Resources 2017-07-24 17:49:56 -07:00
opts_test.go Spelling fixes 2017-07-03 13:13:09 -07:00
opts_unix.go Update docker daemon to dockerd 2016-12-27 17:32:15 +08:00
opts_windows.go Update docker daemon to dockerd 2016-12-27 17:32:15 +08:00
quotedstring.go Trim quotes from TLS flags. 2017-01-03 15:58:41 -05:00
quotedstring_test.go Remove pkg/testutil/assert in favor of testify 2017-04-14 12:03:21 -07:00
runtime.go Clean some stuff from runconfig that are cli only… 2016-12-24 13:16:00 +01:00
ulimit.go add NamedUlimitOpt implement NamedOption to fix 32528 2017-06-16 10:14:09 +08:00
ulimit_test.go Clean some stuff from runconfig that are cli only… 2016-12-24 13:16:00 +01:00