1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/testutil
Sebastiaan van Stijn 52791b1c14
client: errors: remove dead code
- Update IsErrNotFound() to check for the current type before falling back to
  detecting the deprecated type.
- Remove unauthorizedError and notImplementedError types, which were not used.
- IsErrPluginPermissionDenied() was added in 7c36a1af03,
  but not used at the time, and still appears to be unused.
- Deprecate IsErrUnauthorized in favor of errdefs.IsUnauthorized()
- Deprecate IsErrNotImplemented in favor of errdefs,IsNotImplemented()

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit ee230d8fdd)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-07-13 22:44:43 +02:00
..
daemon testutil/daemon: remove redundant fmt.Sprintf()'s 2022-02-15 12:49:35 +01:00
environment client: errors: remove dead code 2022-07-13 22:44:43 +02:00
fakecontext refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
fakegit refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
fakestorage refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
fixtures refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
registry testutil/registry: remove unused WithStdout(), WithStErr() opts 2022-05-10 23:46:23 +02:00
request refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
doc.go
helper.go
helpers.go
stringutils.go gosec: G404: Use of weak random number generator 2021-06-10 13:03:18 +02:00
stringutils_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00