containerd/pkg/server
ktock c1b7bcf395 Enable to pass additional handler on pull for stargz-based remote snapshots
Throughout container lifecycle, pulling image is one of the time-consuming
steps. Recently, containerd community started to tackle this issue with
stargz-based remote snapshots, as a non-core
subproject(https://github.com/containerd/stargz-snapshotter).

This snapshotter is implemented as a standard proxy plugin but it requires the
client to pass some additional information (image ref and layer digest) for each
pull operation to query layer contents on the registry. Stargz snapshotter
project provides an image handler to do this and stargz snapshot users need to
pass this handler to containerd client.

This commit enables to use stargz-based remote snapshots through CRI by passing
the handler to containerd client on pull operation.

Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2020-04-16 20:53:52 +09:00
..
io Add windows implmenetation 2019-09-18 10:46:29 -07:00
testing Update cni and go-cni to the v0.7.1 release 2019-08-14 16:19:37 +00:00
cni_conf_syncer.go reload cni network config if has fs change events 2020-04-03 12:28:58 +08:00
container_attach.go Fix goroutine leak when exec/attach 2020-03-24 10:42:54 +08:00
container_create_test.go Add windows implmenetation 2019-09-18 10:46:29 -07:00
container_create_unix_test.go Add back default UNIX env to container config 2019-09-19 09:00:25 -04:00
container_create_unix.go cgroup2: do not unshare cgroup namespace for privileged 2020-03-09 01:49:04 +09:00
container_create_windows_test.go Cleanup path for windows mount 2019-11-15 18:52:11 +00:00
container_create_windows.go Forward SandboxConfig.Hostname to Workload container activation 2019-09-24 10:21:17 -07:00
container_create.go Defer multitenant key model to image auth discussion 2020-02-24 20:45:57 +00:00
container_exec.go Update kubernetes dependency to 1.15.0. 2019-07-31 23:52:03 -07:00
container_execsync.go Fix goroutine leak when exec/attach 2020-03-24 10:42:54 +08:00
container_list_test.go Update kubernetes dependency to 1.15.0. 2019-07-31 23:52:03 -07:00
container_list.go Update kubernetes dependency to 1.15.0. 2019-07-31 23:52:03 -07:00
container_log_reopen.go Update kubernetes dependency to 1.15.0. 2019-07-31 23:52:03 -07:00
container_remove_test.go Use wait instead of TaskExit. 2019-04-18 00:18:26 -07:00
container_remove.go Use local "ensureRemoveAll" instead of docker/pkg/system 2020-03-12 20:21:14 +01:00
container_start_test.go Use wait instead of TaskExit. 2019-04-18 00:18:26 -07:00
container_start.go Open/create log file with FILE_SHARE_DELETE on windows 2019-09-18 10:46:28 -07:00
container_stats_list_unix_test.go Update code for latest containerd. 2019-10-09 18:05:20 -07:00
container_stats_list_unix.go vendor updated + added cgroupv2 metrics 2020-01-17 11:55:06 +02:00
container_stats_list_windows.go Add container compute stats support. 2019-10-25 14:32:02 -07:00
container_stats_list.go Move unix specific logic into _unix.go 2019-09-03 16:23:42 -07:00
container_stats.go Add windows implmenetation 2019-09-18 10:46:29 -07:00
container_status_test.go Update kubernetes dependency to 1.15.0. 2019-07-31 23:52:03 -07:00
container_status.go Update kubernetes dependency to 1.15.0. 2019-07-31 23:52:03 -07:00
container_stop_test.go StopContainer should block unless client context is canceled 2019-07-16 09:44:23 -07:00
container_stop.go Switch to containerd/log package 2019-08-07 12:18:18 -07:00
container_update_resources_unix_test.go Move unix specific logic into _unix.go 2019-09-03 16:23:42 -07:00
container_update_resources_unix.go Move unix specific logic into _unix.go 2019-09-03 16:23:42 -07:00
container_update_resources_windows.go Move unix specific logic into _unix.go 2019-09-03 16:23:42 -07:00
events_test.go Use wait instead of TaskExit. 2019-04-18 00:18:26 -07:00
events.go Better handle unknown state. 2019-12-06 10:56:27 -08:00
helpers_selinux_test.go fixes bad unit tests when selinux is enabled 2020-04-15 12:28:11 -05:00
helpers_test.go Replace docker/distribution/reference with containerd/reference/docker 2020-04-16 03:29:58 +08:00
helpers_unix_test.go Use local "ensureRemoveAll" instead of docker/pkg/system 2020-03-12 20:21:14 +01:00
helpers_unix.go Use local "ensureRemoveAll" instead of docker/pkg/system 2020-03-12 20:21:14 +01:00
helpers_windows.go Use local "ensureRemoveAll" instead of docker/pkg/system 2020-03-12 20:21:14 +01:00
helpers.go Replace docker/distribution/reference with containerd/reference/docker 2020-04-16 03:29:58 +08:00
image_list_test.go Update kubernetes dependency to 1.15.0. 2019-07-31 23:52:03 -07:00
image_list.go Update kubernetes dependency to 1.15.0. 2019-07-31 23:52:03 -07:00
image_pull_test.go Updated docs and code for default nil behavior 2020-02-27 23:42:03 +00:00
image_pull.go Enable to pass additional handler on pull for stargz-based remote snapshots 2020-04-16 20:53:52 +09:00
image_remove.go Update kubernetes dependency to 1.15.0. 2019-07-31 23:52:03 -07:00
image_status_test.go Update kubernetes dependency to 1.15.0. 2019-07-31 23:52:03 -07:00
image_status.go Switch to containerd/log package 2019-08-07 12:18:18 -07:00
imagefs_info_test.go Update kubernetes dependency to 1.15.0. 2019-07-31 23:52:03 -07:00
imagefs_info.go Move unix specific logic into _unix.go 2019-09-03 16:23:42 -07:00
instrumented_service.go Switch to containerd/log package 2019-08-07 12:18:18 -07:00
restart.go Use local "ensureRemoveAll" instead of docker/pkg/system 2020-03-12 20:21:14 +01:00
sandbox_list_test.go Update kubernetes dependency to 1.15.0. 2019-07-31 23:52:03 -07:00
sandbox_list.go Update kubernetes dependency to 1.15.0. 2019-07-31 23:52:03 -07:00
sandbox_portforward_unix.go Add windows portforward support 2019-09-23 17:36:43 -07:00
sandbox_portforward_windows.go Add windows portforward support 2019-09-23 17:36:43 -07:00
sandbox_portforward.go Add windows portforward support 2019-09-23 17:36:43 -07:00
sandbox_remove.go Use local "ensureRemoveAll" instead of docker/pkg/system 2020-03-12 20:21:14 +01:00
sandbox_run_test.go Report Additional POD IPs 2019-09-18 17:21:37 -07:00
sandbox_run_unix_test.go Add windows implmenetation 2019-09-18 10:46:29 -07:00
sandbox_run_unix.go bump up the default runtime to "io.containerd.runc.v2" 2019-12-16 11:53:58 +09:00
sandbox_run_windows_test.go Set default sandbox container cpu shares on windows. 2019-09-24 17:03:11 -07:00
sandbox_run_windows.go Set default sandbox container cpu shares on windows. 2019-09-24 17:03:11 -07:00
sandbox_run.go Address comment. 2019-09-19 14:05:28 -07:00
sandbox_status_test.go Report Additional POD IPs 2019-09-18 17:21:37 -07:00
sandbox_status.go Report Additional POD IPs 2019-09-18 17:21:37 -07:00
sandbox_stop_test.go RunPodSandbox should block unless client context is canceled 2019-07-16 09:35:56 -07:00
sandbox_stop.go Address comment. 2019-09-19 14:05:28 -07:00
service_test.go Create image reference cache. 2018-09-10 11:30:52 -07:00
service_unix.go reload cni network config if has fs change events 2020-04-03 12:28:58 +08:00
service_windows.go reload cni network config if has fs change events 2020-04-03 12:28:58 +08:00
service.go reload cni network config if has fs change events 2020-04-03 12:28:58 +08:00
snapshots.go Use github.com/pkg/errors 2018-03-17 02:24:38 +00:00
status.go reload cni network config if has fs change events 2020-04-03 12:28:58 +08:00
streaming_test.go streaming: tls conf validation to func with tests 2018-08-30 15:10:48 +02:00
streaming.go Fix goroutine leak when exec/attach 2020-03-24 10:42:54 +08:00
update_runtime_config_test.go Report Additional POD IPs 2019-09-18 17:21:37 -07:00
update_runtime_config.go Report Additional POD IPs 2019-09-18 17:21:37 -07:00
version.go Update kubernetes dependency to 1.15.0. 2019-07-31 23:52:03 -07:00