1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/builder/dockerfile
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
..
command Builder default shell 2016-06-03 13:54:31 -07:00
parser LCOW: Fix nits from 33241 2017-06-27 11:59:49 -07:00
bflag.go Change builder.dispatchers to use a dispatchRequest object 2017-04-24 14:21:19 -04:00
bflag_test.go use t.Fatal() to output the err message where the values used for formatting 2017-02-23 10:16:22 +08:00
buildargs.go Extract imageProber and ContainerBackend from Builder 2017-05-23 15:12:58 -04:00
buildargs_test.go Spelling fixes 2017-07-03 13:13:09 -07:00
builder.go Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
builder_test.go Remove pkg/testutil/assert in favor of testify 2017-04-14 12:03:21 -07:00
builder_unix.go LCOW: Set correct default shell for platform in builder 2017-06-20 19:54:33 -07:00
builder_windows.go LCOW: Set correct default shell for platform in builder 2017-06-20 19:54:33 -07:00
clientsession.go Remove client/session package, depend on buildkit's session package 2017-07-28 16:34:23 -07:00
containerbackend.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
copy.go build: fix add from remote url 2017-06-27 10:38:01 -07:00
copy_test.go Fix copy when used with scratch and images with empty RootFS 2017-06-08 15:07:16 -04:00
copy_unix.go Fix copy when used with scratch and images with empty RootFS 2017-06-08 15:07:16 -04:00
copy_windows.go Remove CopyOnBuild from the daemon. 2017-06-08 15:06:54 -04:00
dispatchers.go Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
dispatchers_test.go LCOW: Set correct default shell for platform in builder 2017-06-20 19:54:33 -07:00
dispatchers_unix.go Cleanup in dispatcher.env 2017-04-11 14:44:28 -04:00
dispatchers_unix_test.go Builder dispatchers unit tests 2016-07-12 07:40:25 +02:00
dispatchers_windows.go Cleanup in dispatcher.env 2017-04-11 14:44:28 -04:00
dispatchers_windows_test.go Use filepath.Clean in normaliseWorkdir for windows 2016-10-31 13:27:05 -07:00
envVarTest Minor tweaks to quotes in env vars 2017-04-12 12:20:14 -07:00
errors.go Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
evaluator.go Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
evaluator_test.go Implement incremental file sync using client session 2017-06-22 11:52:35 -07:00
evaluator_unix.go Enabling expose support for Windows TP5 2016-03-30 17:25:41 -07:00
evaluator_windows.go Windows: Allow user in builder 2016-11-14 14:10:47 -08:00
imagecontext.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
imageprobe.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
internals.go Merge pull request #33241 from Microsoft/jjh/multi-layerstore 2017-06-21 15:45:23 -07:00
internals_test.go LCOW: Set correct default shell for platform in builder 2017-06-20 19:54:33 -07:00
internals_unix.go Fix copy when used with scratch and images with empty RootFS 2017-06-08 15:07:16 -04:00
internals_windows.go Fix copy when used with scratch and images with empty RootFS 2017-06-08 15:07:16 -04:00
internals_windows_test.go Fix copy when used with scratch and images with empty RootFS 2017-06-08 15:07:16 -04:00
metrics.go Add extra prometheus metrics 2017-05-09 01:04:40 -07:00
mockbackend_test.go LCOW: Rework after 33454 merged which refactored daemon/builder interface 2017-06-20 19:50:13 -07:00
shell_parser.go Create a new ShellLex struct which provides the expected interface to Builder. 2017-04-26 19:39:16 -04:00
shell_parser_test.go Create a new ShellLex struct which provides the expected interface to Builder. 2017-04-26 19:39:16 -04:00
support.go Builder default shell 2016-06-03 13:54:31 -07:00
support_test.go Unit tests for builder/dockerfile/support 2016-04-16 00:19:58 +02:00
utils_test.go Reimplement integration test for symlink Dockerfile as a unit test 2016-06-14 23:07:19 +02:00
wordsTest Minor tweaks to quotes in env vars 2017-04-12 12:20:14 -07:00