forked from toolshed/abra
WIP: abra recipe upgrade on the way
This commit is contained in:
19
client/registry.go
Normal file
19
client/registry.go
Normal file
@ -0,0 +1,19 @@
|
||||
package client
|
||||
|
||||
import (
|
||||
"github.com/docker/distribution/reference"
|
||||
)
|
||||
|
||||
type Tag struct {
|
||||
Layer string
|
||||
Name string
|
||||
}
|
||||
|
||||
type Tags []Tag
|
||||
|
||||
var registryURL = "https://registry.hub.docker.com/v1/repositories/%s/tags"
|
||||
|
||||
func ReadRegistryTags(image reference.Named, target interface{}) ([]string, error) {
|
||||
// tagsUrl := fmt.Sprintf(registryURL, image.Name())
|
||||
return nil, nil
|
||||
}
|
Reference in New Issue
Block a user