types.go 471 B

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