server: store and use image's stop signal to stop containers
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
7c43d34a1b
commit
b4f1cee2a2
57 changed files with 949 additions and 10084 deletions
13
vendor/github.com/opencontainers/image-spec/schema/backwards_compatibility_test.go
generated
vendored
13
vendor/github.com/opencontainers/image-spec/schema/backwards_compatibility_test.go
generated
vendored
|
@ -27,7 +27,7 @@ import (
|
|||
var compatMap = map[string]string{
|
||||
"application/vnd.docker.distribution.manifest.list.v2+json": v1.MediaTypeImageIndex,
|
||||
"application/vnd.docker.distribution.manifest.v2+json": v1.MediaTypeImageManifest,
|
||||
"application/vnd.docker.image.rootfs.diff.tar.gzip": v1.MediaTypeImageLayer,
|
||||
"application/vnd.docker.image.rootfs.diff.tar.gzip": v1.MediaTypeImageLayerGzip,
|
||||
"application/vnd.docker.container.image.v1+json": v1.MediaTypeImageConfig,
|
||||
}
|
||||
|
||||
|
@ -49,7 +49,7 @@ func TestBackwardsCompatibilityImageIndex(t *testing.T) {
|
|||
fail bool
|
||||
}{
|
||||
{
|
||||
digest: "sha256:219f4b61132fe9d09b0ec5c15517be2ca712e4744b0e0cc3be71295b35b2a467",
|
||||
digest: "sha256:4ffd0883f25635999f04ea543240a27c9a4341979ff7d46a9774f71512eebb1f",
|
||||
imageIndex: `{
|
||||
"schemaVersion": 2,
|
||||
"mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
|
||||
|
@ -69,10 +69,7 @@ func TestBackwardsCompatibilityImageIndex(t *testing.T) {
|
|||
"digest": "sha256:ae1b0e06e8ade3a11267564a26e750585ba2259c0ecab59ab165ad1af41d1bdd",
|
||||
"platform": {
|
||||
"architecture": "amd64",
|
||||
"os": "linux",
|
||||
"features": [
|
||||
"sse"
|
||||
]
|
||||
"os": "linux"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -91,7 +88,7 @@ func TestBackwardsCompatibilityImageIndex(t *testing.T) {
|
|||
"platform": {
|
||||
"architecture": "arm",
|
||||
"os": "linux",
|
||||
"variant": "armv7"
|
||||
"variant": "v7"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -101,7 +98,7 @@ func TestBackwardsCompatibilityImageIndex(t *testing.T) {
|
|||
"platform": {
|
||||
"architecture": "arm64",
|
||||
"os": "linux",
|
||||
"variant": "armv8"
|
||||
"variant": "v8"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue