...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "disk",
5 srcs = ["disk.go"],
6 importpath = "edge-infra.dev/pkg/f8n/warehouse/oci/cache/providers/disk",
7 visibility = ["//visibility:public"],
8 deps = [
9 "//pkg/f8n/warehouse/oci",
10 "//pkg/f8n/warehouse/oci/layout",
11 "@com_github_google_go_containerregistry//pkg/name",
12 ],
13)
14
15go_test(
16 name = "disk_test",
17 srcs = ["disk_test.go"],
18 embed = [":disk"],
19 deps = [
20 "//pkg/f8n/warehouse/lift",
21 "//pkg/f8n/warehouse/oci",
22 "//pkg/f8n/warehouse/oci/layout",
23 "//pkg/lib/build/bazel",
24 "//pkg/lib/uuid",
25 "//test/fixtures",
26 "@com_github_google_go_containerregistry//pkg/name",
27 "@com_github_stretchr_testify//assert",
28 ],
29)
View as plain text