Registry / http-client / heroku-docker-registry-client

heroku-docker-registry-client

JSON →
library0.0.0-20211012143308-9463674c8930gogounverified

A Go client for interacting with Docker registries.

go get github.com/heroku/docker-registry-client
INSTALL
IMPORT
SIG · HEROKU-DOCKER-REGI
H
heroku-docker-registry-client
http-clientgov0.0.0-20211012143308-9463674c8930
harness data pending
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.

Agent activity
20 hits · last 30 days
node
20
Resources
heroku-docker-registry-client — go get heroku-docker-registry-client · libregistry