Registry /
http-client / heroku-docker-registry-client
Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
registry
✓ github.com/heroku/docker-registry-client
Lists repositories from a Docker registry.
package main
import (
"fmt"
"github.com/heroku/docker-registry-client/registry"
)
func main() {
url := "https://registry-1.docker.io/"
username := ""
password := ""
hub, err := registry.New(url, username, password)
if err != nil {
panic(err)
}
repositories, err := hub.Repositories()
if err != nil {
panic(err)
}
fmt.Println(repositories)
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
0.0.0-20211012143308-9463674c8930latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.