types.go 447 B

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