...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "internal",
5 srcs = [
6 "liveness.go",
7 "metrics.go",
8 "reconciler.go",
9 ],
10 importpath = "edge-infra.dev/pkg/f8n/warehouse/k8s/controllers/lumperctl/internal",
11 visibility = ["//pkg/f8n/warehouse/k8s/controllers/lumperctl:__subpackages__"],
12 deps = [
13 "//pkg/f8n/warehouse/cluster",
14 "//pkg/f8n/warehouse/k8s/apis/v1alpha2",
15 "//pkg/f8n/warehouse/k8s/kauth",
16 "//pkg/f8n/warehouse/oci",
17 "//pkg/f8n/warehouse/oci/cache",
18 "//pkg/f8n/warehouse/oci/remote",
19 "//pkg/k8s/runtime/conditions",
20 "//pkg/k8s/runtime/controller/metrics",
21 "//pkg/k8s/runtime/controller/reconcile",
22 "//pkg/k8s/runtime/controller/reconcile/recerr",
23 "//pkg/k8s/runtime/patch",
24 "//pkg/k8s/runtime/sap",
25 "//pkg/k8s/runtime/statusreaders",
26 "@com_github_go_logr_logr//:logr",
27 "@com_github_google_go_containerregistry//pkg/authn",
28 "@com_github_google_go_containerregistry//pkg/name",
29 "@com_github_google_go_containerregistry//pkg/v1/google",
30 "@com_github_prometheus_client_golang//prometheus",
31 "@io_k8s_sigs_controller_runtime//:controller-runtime",
32 "@io_k8s_sigs_controller_runtime//pkg/client",
33 ],
34)
35
36go_test(
37 name = "internal_test",
38 srcs = ["liveness_test.go"],
39 embed = [":internal"],
40 visibility = ["//visibility:public"],
41 deps = [
42 "//pkg/f8n/warehouse/k8s/apis/v1alpha2",
43 "@com_github_go_logr_logr//:logr",
44 ],
45)
View as plain text