WIP: abra recipe upgrade on the way

This commit is contained in:
2021-08-06 15:40:23 +02:00
parent c75c2254e4
commit 11ef64ead3
3 changed files with 69 additions and 1 deletions

19
client/registry.go Normal file
View 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
}