mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-06 05:31:47 +00:00
Allow go template to work properly with inspect
Closes #11641 Signed-off-by: Srini Brahmaroutu <srbrahma@us.ibm.com>
This commit is contained in:
committed by
Srini Brahmaroutu
parent
eae272f90e
commit
231d362db7
@@ -75,6 +75,23 @@ type Image struct {
|
||||
Labels map[string]string
|
||||
}
|
||||
|
||||
// GET "/images/{name:.*}/json"
|
||||
type ImageInspect struct {
|
||||
Id string
|
||||
Parent string
|
||||
Comment string
|
||||
Created time.Time
|
||||
Container string
|
||||
ContainerConfig *runconfig.Config
|
||||
DockerVersion string
|
||||
Author string
|
||||
Config *runconfig.Config
|
||||
Architecture string
|
||||
Os string
|
||||
Size int64
|
||||
VirtualSize int64
|
||||
}
|
||||
|
||||
type LegacyImage struct {
|
||||
ID string `json:"Id"`
|
||||
Repository string
|
||||
|
||||
Reference in New Issue
Block a user