summaryrefslogtreecommitdiff
path: root/libpod/runtime.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2018-12-19 13:07:10 -0800
committerGitHub <noreply@github.com>2018-12-19 13:07:10 -0800
commit8ec8ee935eb43976e9d73aa557932d800acc4f07 (patch)
tree15be71b19c0ca0db7b1083eb672b4febb2f12a97 /libpod/runtime.go
parenteddfe6ba628d17435559ba32a8ef748c386105aa (diff)
parent31edf47285ca9d56cd838aaaf5dae2f5403f7ea1 (diff)
downloadpodman-8ec8ee935eb43976e9d73aa557932d800acc4f07.tar.gz
podman-8ec8ee935eb43976e9d73aa557932d800acc4f07.tar.bz2
podman-8ec8ee935eb43976e9d73aa557932d800acc4f07.zip
Merge pull request #1899 from QiWang19/trustimg
Support podman image trust command
Diffstat (limited to 'libpod/runtime.go')
-rw-r--r--libpod/runtime.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/libpod/runtime.go b/libpod/runtime.go
index 82473aae9..2dfebf565 100644
--- a/libpod/runtime.go
+++ b/libpod/runtime.go
@@ -877,3 +877,8 @@ func (r *Runtime) generateName() (string, error) {
func (r *Runtime) ImageRuntime() *image.Runtime {
return r.imageRuntime
}
+
+// SystemContext returns the imagecontext
+func (r *Runtime) SystemContext() *types.SystemContext {
+ return r.imageContext
+}