Port Authority is a simple golang http client that handles all of the authentication involved when interacting with a container registry. This means it's a dumb client and it's up to you, the user to know the API endpoints you want to hit. At some point in the future this may change, but for now it only handles authentication
import (
"fmt"
pa "bitbucket.org/rw_grim/port-authority"
)
func main() {
client := pa.NewClient()
client.AddRegistry("index.docker.io", "username", "password")
resp, _ := client.Get("/v2/username/foo/tags")
fmt.Printf("%#v\n", resp)
}