2016-05-16 11:50:55 -04:00
|
|
|
package distribution
|
|
|
|
|
|
|
|
import "errors"
|
|
|
|
|
2016-07-06 15:16:14 -04:00
|
|
|
// ErrUnsupportedRegistry indicates that the registry does not support v2 protocol
|
|
|
|
var ErrUnsupportedRegistry = errors.New("only V2 repositories are supported for plugin distribution")
|
|
|
|
|
|
|
|
// ErrUnsupportedMediaType indicates we are pulling content that's not a plugin
|
|
|
|
var ErrUnsupportedMediaType = errors.New("content is not a plugin")
|
2016-05-16 11:50:55 -04:00
|
|
|
|
2016-08-10 15:04:42 -04:00
|
|
|
// DefaultTag is the default tag for plugins
|
|
|
|
const DefaultTag = "latest"
|