automation-tests/common/libimage
Valentin Rothberg fa2e6ee0bf libimage: normalize platforms correctly
Use containerd's platform package for platform checks. While the OCI
image spec requires the platform values to conform with GOOS and GOARCH
definitions of Go' runtime package, the values of uname are used by
convention.  Supporting these values silences annoying false-positive
warnings.

Fixes: #containers/podman/issues/14669
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2022-06-28 13:44:02 +02:00
..
define libimage/define: add search filters 2022-05-23 15:27:48 +02:00
manifests libimage/manifests: tests: use ctx.Background() 2022-05-25 10:49:45 +02:00
testdata libimage should be using containers.conf for tmpdir 2022-05-04 16:55:25 -04:00
copier.go Fix option names and functions to make lint happy. 2022-06-06 15:52:56 -04:00
corrupted_test.go *_test.go: fix or suppress errcheck warnings 2022-04-09 15:18:22 -07:00
disk_usage.go libimage: disk usage: catch corrupted images 2021-08-31 11:09:21 +02:00
events.go Merge pull request #524 from vrothberg/libimage-events 2021-05-06 14:34:49 -04:00
filters.go Remove container related filter tests -> move to podman 2022-03-23 13:14:51 +01:00
filters_test.go Remove container related filter tests -> move to podman 2022-03-23 13:14:51 +01:00
history.go libimage: follow-up changes 2021-05-03 15:20:40 +02:00
image.go enable prealloc and makezero linters 2022-05-09 14:39:51 +02:00
image_config.go Gofumpt the code 2022-04-09 16:50:11 -07:00
image_test.go libimage: image lookup: fix ID vs short name 2022-02-24 14:42:37 +01:00
image_tree.go libimage: image tree: fix nil deref 2021-07-09 15:11:04 +02:00
import.go libimage: nit 2022-03-30 11:39:49 -07:00
import_test.go libimage: import: fix tags 2021-07-06 14:42:50 +02:00
inspect.go libimage: image lookup: check platform 2022-05-31 16:59:11 +02:00
layer_tree.go libruntime: layer tree: handle empty images 2021-07-20 11:00:21 +02:00
load.go libimage: load: close reader 2022-05-19 17:08:48 +02:00
load_test.go libimage: load: close reader 2022-05-19 17:08:48 +02:00
manifest_list.go libimage: LookupImage: remove IgnorePlatform option 2021-07-02 14:14:56 +02:00
manifest_list_test.go Gofumpt the code 2022-04-09 16:50:11 -07:00
normalize.go libimage: normalize platforms correctly 2022-06-28 13:44:02 +02:00
normalize_test.go libimage: normalize platform 2021-12-23 13:09:03 +01:00
oci.go libimage: follow-up changes 2021-05-03 15:20:40 +02:00
platform.go libimage: normalize platforms correctly 2022-06-28 13:44:02 +02:00
platform_test.go libimage: normalize platforms correctly 2022-06-28 13:44:02 +02:00
pull.go libimage: normalize platforms correctly 2022-06-28 13:44:02 +02:00
pull_test.go Gofumpt the code 2022-04-09 16:50:11 -07:00
push.go libimage: LookupImage: remove IgnorePlatform option 2021-07-02 14:14:56 +02:00
push_test.go libimage: Inspect: add InspectOptions 2021-10-08 13:45:54 +02:00
remove_test.go libimage: RemoveImages: add Ignore field 2022-03-17 14:55:16 +01:00
runtime.go libimage: normalize platforms correctly 2022-06-28 13:44:02 +02:00
runtime_test.go .golanci-lint: enable gofumpt 2022-05-16 20:01:08 -07:00
save.go Gofumpt the code 2022-04-09 16:50:11 -07:00
save_test.go libimage: suppress appendAssign gocritic warning 2022-04-09 17:03:19 -07:00
search.go libimage/define: add search filters 2022-05-23 15:27:48 +02:00