* support acceleration service

1, support acceleration service endpoints manage.
2, support auto convert.
3, support nydus as a new kinds of accessory.

Signed-off-by: wang yan <wangyan@vmware.com>

* add nydus icon

Signed-off-by: Wang Yan <wangyan@vmware.com>
This commit is contained in:
Wang Yan 2022-04-11 14:10:35 +08:00 committed by GitHub
parent 05d070865c
commit b8804ef363
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 0 deletions

BIN
icons/nydus.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

View File

@ -54,6 +54,10 @@ var (
path: "./icons/cosign.png",
resize: false,
},
icon.DigestOfIconNydus: {
path: "./icons/nydus.png",
resize: true,
},
icon.DigestOfIconDefault: {
path: "./icons/default.png",
resize: true,

View File

@ -10,4 +10,5 @@ const (
// ToDo add the accessories images
DigestOfIconAccDefault = ""
DigestOfIconAccCosign = "sha256:20401d5b3a0f6dbc607c8d732eb08471af4ae6b19811a4efce8c6a724aed2882"
DigestOfIconNydus = "sha256:dfcb6617cd9c144358dc1b305b87bbe34f0b619f1e329116e6aee2e41f2e34cf"
)

View File

@ -34,6 +34,7 @@ var (
// icon digests for each known type
defaultIcons = map[string]string{
model.TypeCosignSignature: icon.DigestOfIconAccCosign,
model.TypeAccelNydus: icon.DigestOfIconNydus,
}
)