mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
These comments were added to enforce using the correct import path for
our packages ("github.com/docker/docker", not "github.com/moby/moby").
However, when working in go module mode (not GOPATH / vendor), they have
no effect, so their impact is limited.
Remove these imports in preparation of migrating our code to become an
actual go module.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
25 lines
863 B
Go
25 lines
863 B
Go
package registry
|
|
|
|
import (
|
|
"github.com/distribution/reference"
|
|
"github.com/docker/docker/api/types/registry"
|
|
)
|
|
|
|
// RepositoryInfo describes a repository
|
|
type RepositoryInfo struct {
|
|
Name reference.Named
|
|
// Index points to registry information
|
|
Index *registry.IndexInfo
|
|
// Official indicates whether the repository is considered official.
|
|
// If the registry is official, and the normalized name does not
|
|
// contain a '/' (e.g. "foo"), then it is considered an official repo.
|
|
//
|
|
// Deprecated: this field is no longer used and will be removed in the next release. The information captured in this field can be obtained from the [Name] field instead.
|
|
Official bool
|
|
// Class represents the class of the repository, such as "plugin"
|
|
// or "image".
|
|
//
|
|
// Deprecated: this field is no longer used, and will be removed in the next release.
|
|
Class string
|
|
}
|