Imports github.com/containerd/errdefs github.com/containerd/log github.com/docker/distribution/registry/api/errcode github.com/docker/docker/errdefs google.golang.org/grpc/codes google.golang.org/grpc/status Standard library imports context fmt net/http