github.com/endophage/docker@v1.4.2-0.20161027011718-242853499895/plugin/distribution/types.go (about) 1 package distribution 2 3 import "errors" 4 5 // ErrUnsupportedRegistry indicates that the registry does not support v2 protocol 6 var ErrUnsupportedRegistry = errors.New("only V2 repositories are supported for plugin distribution") 7 8 // ErrUnsupportedMediaType indicates we are pulling content that's not a plugin 9 var ErrUnsupportedMediaType = errors.New("content is not a plugin") 10 11 // DefaultTag is the default tag for plugins 12 const DefaultTag = "latest"