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