 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsImageNotFound ¶
func IsNotFound ¶
func IsRegistryNotFound ¶
func IsRepositoryNotFound ¶
func IsTagNotFound ¶
func NewImageNotFoundError ¶
Types ¶
type Client ¶
type Client interface {
	// Connect to a Docker registry by name. Pass "" for the Docker Hub
	Connect(registry string, allowInsecure bool) (Connection, error)
}
    Client includes methods for accessing a Docker registry by name.
type Connection ¶
type Connection interface {
	// ImageTags will return a map of the tags for the image by namespace (if not
	// specified, will be "library") and name.
	ImageTags(namespace, name string) (map[string]string, error)
	// ImageByID will return the requested image by namespace (if not specified,
	// will be "library"), name, and ID.
	ImageByID(namespace, name, id string) (*Image, error)
	// ImageByTag will return the requested image by namespace (if not specified,
	// will be "library"), name, and tag (if not specified, "latest").
	ImageByTag(namespace, name, tag string) (*Image, error)
}
    Connection allows you to retrieve data from a Docker V1 registry.
 Click to show internal directories. 
   Click to hide internal directories.