github.com/noxiouz/docker@v0.7.3-0.20160629055221-3d231c78e8c5/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  // Plugin related media types
    11  const (
    12  	MediaTypeManifest = "application/vnd.docker.distribution.manifest.v2+json"
    13  	MediaTypeConfig   = "application/vnd.docker.plugin.v0+json"
    14  	MediaTypeLayer    = "application/vnd.docker.image.rootfs.diff.tar.gzip"
    15  	DefaultTag        = "latest"
    16  )