0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-30 22:34:13 -05:00
zot/pkg/cli/client
Ramkumar Chinchani cb2af94b0b
feat: add support for docker images (#2714)
* feat: add support for docker images

Issue #724

A new config section under "HTTP" called "Compat" is added which
currently takes a list of possible compatible legacy media-types.

https://github.com/opencontainers/image-spec/blob/main/media-types.md#compatibility-matrix

Only "docker2s2" (Docker Manifest V2 Schema V2) is currently supported.

Garbage collection also needs to be made aware of non-OCI compatible
layer types.
feat: add cve support for non-OCI compatible layer types

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>

* 

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>

* test: add more docker compat tests

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>

* feat: add additional validation checks for non-OCI images

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>

* ci: make "full" images docker-compatible

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>

---------

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
2024-10-31 09:44:04 +02:00
..
cli.go feat(cli): add command to interogate the server version and other details (#1709) 2023-11-22 19:25:21 +02:00
client.go ci(deps): upgrade golangci-lint (#2556) 2024-07-29 10:32:51 -07:00
client_test.go ci(deps): upgrade golangci-lint (#2556) 2024-07-29 10:32:51 -07:00
config_cmd.go ci(deps): upgrade golangci-lint (#2556) 2024-07-29 10:32:51 -07:00
config_cmd_test.go ci(deps): upgrade golangci-lint (#2556) 2024-07-29 10:32:51 -07:00
cve_cmd_internal_test.go ci(deps): upgrade golangci-lint (#2556) 2024-07-29 10:32:51 -07:00
cve_cmd_test.go feat: add support for docker images (#2714) 2024-10-31 09:44:04 +02:00
cves_cmd.go feat(cve): cli cve diff (#2242) 2024-03-06 10:40:29 +02:00
cves_sub_cmd.go feat(cve): cli cve diff (#2242) 2024-03-06 10:40:29 +02:00
discover.go chore: fix dependabot alerts (#2446) 2024-06-04 13:54:30 +03:00
elevated_test.go ci(deps): upgrade golangci-lint (#2556) 2024-07-29 10:32:51 -07:00
flags.go feat(cve): cli cve diff (#2242) 2024-03-06 10:40:29 +02:00
flags_test.go refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00
gql_queries.go feat(cve): cli cve diff (#2242) 2024-03-06 10:40:29 +02:00
gql_queries_test.go refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00
image_cmd.go refactor(cli): Move cmdflags package under pkg/cli/client (#1840) 2023-09-22 16:33:18 +03:00
image_cmd_internal_test.go ci(deps): upgrade golangci-lint (#2556) 2024-07-29 10:32:51 -07:00
image_cmd_test.go ci(deps): upgrade golangci-lint (#2556) 2024-07-29 10:32:51 -07:00
image_sub_cmd.go refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00
repo_cmd.go refactor(cli): Move cmdflags package under pkg/cli/client (#1840) 2023-09-22 16:33:18 +03:00
repo_sub_cmd.go refactor(cli): Move cmdflags package under pkg/cli/client (#1840) 2023-09-22 16:33:18 +03:00
repo_test.go refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00
root.go refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00
root_test.go refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00
search_cmd.go refactor(cli): Move cmdflags package under pkg/cli/client (#1840) 2023-09-22 16:33:18 +03:00
search_cmd_internal_test.go refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00
search_cmd_test.go ci(deps): upgrade golangci-lint (#2556) 2024-07-29 10:32:51 -07:00
search_functions.go feat: add verbose mode for cves for image listing (#2308) 2024-03-12 13:38:48 -07:00
search_functions_internal_test.go feat: show brief package list in image CVE listings (#2338) 2024-03-25 10:36:14 -07:00
search_sub_cmd.go refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00
server_info_cmd.go chore: update go.mod deps (#2610) 2024-08-14 13:09:45 -07:00
server_info_cmd_test.go refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00
service.go chore: update go.mod deps (#2610) 2024-08-14 13:09:45 -07:00
utils.go ci(deps): upgrade golangci-lint (#2556) 2024-07-29 10:32:51 -07:00
utils_internal_test.go ci(deps): upgrade golangci-lint (#2556) 2024-07-29 10:32:51 -07:00