registry/

directory
v3.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2015 License: Apache-2.0

README

Docker Registry Go lib

This is a simple Go package to use with the Docker Registry v1.

Example

import registry "github.com/shipyard/shipyard/registry/v1"

// make sure to handle the err
client, _ := registry.NewRegistryClient("http://localhost:5000", nil)

res, _ := client.Search("busybox", 1, 100)

fmt.Printf("Number of Repositories: %d\n", res.NumberOfResults)
for _, r := range res.Results {
	fmt.Printf(" -  Name: %s\n", r.Name)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL