moby--moby/distribution
Paweł Gronowski 407e3a4552
distribution: Error when pulling OCI artifacts
Currently an attempt to pull a reference which resolves to an OCI
artifact (Helm chart for example), results in a bit unrelated error
message `invalid rootfs in image configuration`.

This provides a more meaningful error in case a user attempts to
download a media type which isn't image related.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2022-11-02 12:51:03 +01:00
..
fixtures/validate_manifest
metadata distribution: use types/registry.AuthConfig 2022-07-29 23:05:18 +02:00
utils
xfer runconfig, oci, image, layer, distribution: fix empty-lines (revive) 2022-09-28 01:58:52 +02:00
config.go distribution: use types/registry.AuthConfig 2022-07-29 23:05:18 +02:00
errors.go distribution: Error when pulling OCI artifacts 2022-11-02 12:51:03 +01:00
errors_test.go
manifest.go Validate digest in repo for pull by digest 2022-10-21 01:48:59 +02:00
manifest_test.go Validate digest in repo for pull by digest 2022-10-21 01:48:59 +02:00
pull.go distribution: move newPusher() and newPuller() together with definition 2022-04-21 23:13:39 +02:00
pull_v2.go distribution: Error when pulling OCI artifacts 2022-11-02 12:51:03 +01:00
pull_v2_test.go distribution: use types/registry.AuthConfig 2022-07-29 23:05:18 +02:00
pull_v2_unix.go distribution: match manifest list resolution with containerd 2022-06-02 11:21:07 -07:00
pull_v2_windows.go
push.go distribution: move newPusher() and newPuller() together with definition 2022-04-21 23:13:39 +02:00
push_v2.go distribution: move newPusher() and newPuller() together with definition 2022-04-21 23:13:39 +02:00
push_v2_test.go distribution: use types/registry.AuthConfig 2022-07-29 23:05:18 +02:00
registry.go distribution: use types/registry.AuthConfig 2022-07-29 23:05:18 +02:00
registry_unit_test.go distribution: use types/registry.AuthConfig 2022-07-29 23:05:18 +02:00
repository.go distribution: add GetRepository(), un-export NewV2Repository, ValidateRepoName 2022-04-21 23:12:02 +02:00