mirror of
https://github.com/docker/cli.git
synced 2026-09-25 07:50:37 -05:00
Merge pull request #29437 from yuexiao-wang/remove-unuse-slice
Remove unuse slice in registry Upstream-commit: d52494252dd4f677c9e75c6540175d033da9dcb1 Component: engine
This commit is contained in:
@@ -5,15 +5,12 @@ import (
|
||||
"github.com/docker/docker/reference"
|
||||
)
|
||||
|
||||
// RepositoryData tracks the image list, list of endpoints, and list of tokens
|
||||
// for a repository
|
||||
// RepositoryData tracks the image list, list of endpoints for a repository
|
||||
type RepositoryData struct {
|
||||
// ImgList is a list of images in the repository
|
||||
ImgList map[string]*ImgData
|
||||
// Endpoints is a list of endpoints returned in X-Docker-Endpoints
|
||||
Endpoints []string
|
||||
// Tokens is currently unused (remove it?)
|
||||
Tokens []string
|
||||
}
|
||||
|
||||
// ImgData is used to transfer image checksums to and from the registry
|
||||
|
||||
Reference in New Issue
Block a user