Skip to content

rupakg/docker-reg-client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-reg-client

Circle CI GoDoc

docker-reg-client is an API wrapper for the Docker Registry v1 API written in Go.

For detailed documentation, see the GoDocs.

Example

package main

import (
  "fmt"
  "github.com/CenturyLinkLabs/docker-reg-client/registry"
)

func main() {
  c := registry.NewClient()

  auth, err := c.Hub.GetReadToken("ubuntu")
  if err != nil {
    panic(err)
  }

  tags, err := c.Repository.ListTags("ubuntu", auth)
  if err != nil {
    panic(err)
  }

  fmt.Printf("%#v", tags)
}

About

Go Wrapper for the Docker Registry v1 API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%