...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "unpack",
5 srcs = [
6 "layers.go",
7 "options.go",
8 "unpack.go",
9 ],
10 importpath = "edge-infra.dev/pkg/f8n/warehouse/lift/unpack",
11 visibility = ["//visibility:public"],
12 deps = [
13 "//pkg/f8n/warehouse/cluster",
14 "//pkg/f8n/warehouse/lift",
15 "//pkg/f8n/warehouse/lift/render",
16 "//pkg/f8n/warehouse/oci",
17 "//pkg/f8n/warehouse/oci/layer",
18 "//pkg/f8n/warehouse/oci/walk",
19 "//pkg/f8n/warehouse/pallet",
20 "@com_github_google_go_containerregistry//pkg/v1:pkg",
21 "@io_k8s_sigs_kustomize_api//filters/namespace",
22 ],
23)
24
25go_test(
26 name = "unpack_test",
27 srcs = [
28 "layers_test.go",
29 "options_test.go",
30 "unpack_test.go",
31 ],
32 embed = [":unpack"],
33 deps = [
34 "//pkg/f8n/warehouse/cluster",
35 "//pkg/f8n/warehouse/lift",
36 "//pkg/f8n/warehouse/oci",
37 "//pkg/f8n/warehouse/oci/layer",
38 "//pkg/f8n/warehouse/pallet",
39 "//pkg/lib/uuid",
40 "//test/fixtures",
41 "@com_github_google_go_containerregistry//pkg/name",
42 "@com_github_stretchr_testify//assert",
43 "@com_github_stretchr_testify//require",
44 ],
45)
View as plain text