...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "layer",
5 srcs = [
6 "layer.go",
7 "mutate.go",
8 "options.go",
9 "types.go",
10 ],
11 importpath = "edge-infra.dev/pkg/f8n/warehouse/oci/layer",
12 visibility = ["//visibility:public"],
13 deps = [
14 "//pkg/f8n/warehouse",
15 "//pkg/f8n/warehouse/capability",
16 "//pkg/k8s/unstructured",
17 "@com_github_fluxcd_pkg_ssa//:ssa",
18 "@com_github_google_go_containerregistry//pkg/v1:pkg",
19 "@com_github_google_go_containerregistry//pkg/v1/partial",
20 "@com_github_google_go_containerregistry//pkg/v1/static",
21 "@com_github_google_go_containerregistry//pkg/v1/types",
22 "@io_k8s_sigs_kustomize_kyaml//kio",
23 ],
24)
25
26go_test(
27 name = "layer_test",
28 srcs = ["layer_test.go"],
29 deps = [
30 ":layer",
31 "//pkg/f8n/warehouse",
32 "//pkg/f8n/warehouse/capability",
33 "//pkg/f8n/warehouse/cluster",
34 "//pkg/f8n/warehouse/pallet",
35 "@com_github_google_go_containerregistry//pkg/v1:pkg",
36 "@com_github_google_go_containerregistry//pkg/v1/mutate",
37 "@com_github_google_go_containerregistry//pkg/v1/partial",
38 "@com_github_google_go_containerregistry//pkg/v1/static",
39 ],
40)
View as plain text