moby--moby/testutil
Sebastiaan van Stijn ee230d8fdd
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>
2022-07-09 00:54:36 +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-09 00:54:36 +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 testutil: make testing packages public 2019-09-11 07:47:23 -05:00
helper.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00
helpers.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00
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