github.com/vieux/docker@v0.6.3-0.20161004191708-e097c2a938c7/plugin/distribution/types.go (about)

     1  // +build experimental
     2  
     3  package distribution
     4  
     5  import "errors"
     6  
     7  // ErrUnsupportedRegistry indicates that the registry does not support v2 protocol
     8  var ErrUnsupportedRegistry = errors.New("only V2 repositories are supported for plugin distribution")
     9  
    10  // ErrUnsupportedMediaType indicates we are pulling content that's not a plugin
    11  var ErrUnsupportedMediaType = errors.New("content is not a plugin")
    12  
    13  // DefaultTag is the default tag for plugins
    14  const DefaultTag = "latest"