cri-o/server
Nalin Dahyabhai ff7bbb4f0d Switch to ImageServer.UntagImage in RemoveImage handler
Add an UntagImage() method to pkg/storage/ImageServer, which will check
if the passed-in NameOrID is a name.  If so, it merely removes that name
from the image, removing the image only if it was the last name that the
image had.  If the NameOrID is an image ID, the image is removed, as
RemoveImage() does.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-12-14 14:23:53 -05:00
..
apparmor container_create: fix apparmor from container config 2017-11-30 16:12:16 +01:00
fixtures Adding unit tests for server/secrets.go 2017-11-29 17:42:19 +08:00
metrics server: add prometheus metrics for CRI operations 2017-11-09 16:51:00 +01:00
seccomp container_create: fix seccomp annotations 2017-09-25 21:08:11 +02:00
config.go libkpod -> lib rename 2017-11-30 17:08:26 +01:00
config_test.go libkpod -> lib rename 2017-11-30 17:08:26 +01:00
container_attach.go server: add prometheus metrics for CRI operations 2017-11-09 16:51:00 +01:00
container_create.go Return image references from the storage package 2017-12-14 14:23:52 -05:00
container_exec.go container_exec: fix terminal true process json 2017-12-07 20:51:05 +01:00
container_execsync.go server: add prometheus metrics for CRI operations 2017-11-09 16:51:00 +01:00
container_list.go Return image references from the storage package 2017-12-14 14:23:52 -05:00
container_portforward.go server: add prometheus metrics for CRI operations 2017-11-09 16:51:00 +01:00
container_remove.go server: add prometheus metrics for CRI operations 2017-11-09 16:51:00 +01:00
container_start.go server: add prometheus metrics for CRI operations 2017-11-09 16:51:00 +01:00
container_stats.go server: add prometheus metrics for CRI operations 2017-11-09 16:51:00 +01:00
container_stats_list.go server: add prometheus metrics for CRI operations 2017-11-09 16:51:00 +01:00
container_status.go Return image references from the storage package 2017-12-14 14:23:52 -05:00
container_stop.go server: add prometheus metrics for CRI operations 2017-11-09 16:51:00 +01:00
container_update_resources.go allow update running/created container. 2017-11-11 11:04:07 -05:00
container_updateruntimeconfig.go server: add prometheus metrics for CRI operations 2017-11-09 16:51:00 +01:00
image_fs_info.go server: add prometheus metrics for CRI operations 2017-11-09 16:51:00 +01:00
image_list.go Return image references from the storage package 2017-12-14 14:23:52 -05:00
image_pull.go Return image references from the storage package 2017-12-14 14:23:52 -05:00
image_remove.go Switch to ImageServer.UntagImage in RemoveImage handler 2017-12-14 14:23:53 -05:00
image_status.go Return image references from the storage package 2017-12-14 14:23:52 -05:00
inspect.go Return image references from the storage package 2017-12-14 14:23:52 -05:00
inspect_test.go Return image references from the storage package 2017-12-14 14:23:52 -05:00
naming.go server: Rename infra container to POD 2017-09-01 08:47:55 -07:00
runtime_status.go server: add prometheus metrics for CRI operations 2017-11-09 16:51:00 +01:00
sandbox_list.go libkpod -> lib rename 2017-11-30 17:08:26 +01:00
sandbox_network.go libkpod -> lib rename 2017-11-30 17:08:26 +01:00
sandbox_remove.go libkpod -> lib rename 2017-11-30 17:08:26 +01:00
sandbox_run.go libkpod -> lib rename 2017-11-30 17:08:26 +01:00
sandbox_status.go server: add prometheus metrics for CRI operations 2017-11-09 16:51:00 +01:00
sandbox_stop.go libkpod -> lib rename 2017-11-30 17:08:26 +01:00
secrets.go Fixed logic flaw in the secrets mounts 2017-10-17 13:08:42 -04:00
secrets_test.go Adding unit tests for server/secrets.go 2017-11-29 17:42:19 +08:00
server.go libkpod -> lib rename 2017-11-30 17:08:26 +01:00
utils.go Merge pull request #1192 from runcom/no-libkpod 2017-12-01 08:44:44 -05:00
utils_test.go container_create: correctly set image and kube envs 2017-11-30 12:28:50 +01:00
version.go server: add prometheus metrics for CRI operations 2017-11-09 16:51:00 +01:00