summaryrefslogtreecommitdiff
path: root/libpod/image/image.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-07-23 10:21:41 +0200
committerGitHub <noreply@github.com>2019-07-23 10:21:41 +0200
commit26749204d5fcd333706bef187b75cd3c6b39b835 (patch)
tree1fe72a798eef9d803e7714ea877304f1568171bd /libpod/image/image.go
parenta12a2312ac5c6c485eaa1d45e4b7e29d6cc4a9ff (diff)
parent0c3038d4b5479e475217f2990107f376024d5726 (diff)
downloadpodman-26749204d5fcd333706bef187b75cd3c6b39b835.tar.gz
podman-26749204d5fcd333706bef187b75cd3c6b39b835.tar.bz2
podman-26749204d5fcd333706bef187b75cd3c6b39b835.zip
Merge pull request #3621 from baude/golangcilint4
golangci-lint phase 4
Diffstat (limited to 'libpod/image/image.go')
-rw-r--r--libpod/image/image.go15
1 files changed, 4 insertions, 11 deletions
diff --git a/libpod/image/image.go b/libpod/image/image.go
index a057bc720..db50e3dbd 100644
--- a/libpod/image/image.go
+++ b/libpod/image/image.go
@@ -38,26 +38,19 @@ import (
"github.com/sirupsen/logrus"
)
-// imageConversions is used to cache image "cast" types
-type imageConversions struct {
- imgRef types.Image
- storeRef types.ImageReference
-}
-
// Image is the primary struct for dealing with images
// It is still very much a work in progress
type Image struct {
// Adding these two structs for now but will cull when we near
// completion of this library.
- imageConversions
+ imgRef types.Image
+ storeRef types.ImageReference
inspect.ImageData
inspect.ImageResult
- inspectInfo *types.ImageInspectInfo
- InputName string
- //runtime *libpod.Runtime
+ inspectInfo *types.ImageInspectInfo
+ InputName string
image *storage.Image
imageruntime *Runtime
- repotagsMap map[string][]string
}
// Runtime contains the store