cri-o/server
Nalin Dahyabhai f3b7065bd8 Return image references from the storage package
The image's canonical reference is a name with a digest of the image's
manifest, so in imageService.ImageStatus() and
imageService.ListImages(), divide the image's name list into tagged and
digested values, and if we have names, add canonical versions.

In Server.ContainerStatus(), return the image name as it was given to us
as the image, and the image digested reference as the image reference.

In Server.ListImages(), be sure to only return tagged names in the
RepoTags field.  In Server.ImageStatus(), also return canonical
references in the RepoDigests field.

In Server.PullImage(), be sure that we consistently return the same
image reference for an image, whether we ended up pulling it or not.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-12-14 14:23:52 -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 image_pull: fix image resolver 2017-11-28 23:53:18 +01: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