...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "oci",
5 srcs = [
6 "artifact.go",
7 "doc.go",
8 "errors.go",
9 ],
10 importpath = "edge-infra.dev/pkg/f8n/warehouse/oci",
11 visibility = ["//visibility:public"],
12 deps = [
13 "//pkg/f8n/warehouse",
14 "@com_github_google_go_containerregistry//pkg/v1:pkg",
15 "@com_github_google_go_containerregistry//pkg/v1/mutate",
16 "@com_github_google_go_containerregistry//pkg/v1/partial",
17 ],
18)
19
20go_test(
21 name = "oci_test",
22 srcs = ["artifact_test.go"],
23 deps = [
24 ":oci",
25 "//pkg/f8n/warehouse/cluster",
26 "//pkg/f8n/warehouse/oci/layer",
27 "//pkg/f8n/warehouse/pallet",
28 "@com_github_google_go_containerregistry//pkg/v1:pkg",
29 "@com_github_stretchr_testify//assert",
30 "@com_github_stretchr_testify//require",
31 ],
32)
View as plain text