f15c13efac
Update the vendored commit for containers/image, because the previous version did not include the function ListNames() in transports Signed-off-by: Ryan Cole <rcyoalne@gmail.com>
29 lines
553 B
Go
29 lines
553 B
Go
// Package image provides libraries and commands to interact with containers images.
|
|
//
|
|
// package main
|
|
//
|
|
// import (
|
|
// "fmt"
|
|
//
|
|
// "github.com/containers/image/docker"
|
|
// )
|
|
//
|
|
// func main() {
|
|
// ref, err := docker.ParseReference("//fedora")
|
|
// if err != nil {
|
|
// panic(err)
|
|
// }
|
|
// img, err := ref.NewImage(nil)
|
|
// if err != nil {
|
|
// panic(err)
|
|
// }
|
|
// defer img.Close()
|
|
// b, _, err := img.Manifest()
|
|
// if err != nil {
|
|
// panic(err)
|
|
// }
|
|
// fmt.Printf("%s", string(b))
|
|
// }
|
|
//
|
|
// TODO(runcom)
|
|
package image
|