load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "internal", srcs = [ "liveness.go", "metrics.go", "reconciler.go", ], importpath = "edge-infra.dev/pkg/f8n/warehouse/k8s/controllers/lumperctl/internal", visibility = ["//pkg/f8n/warehouse/k8s/controllers/lumperctl:__subpackages__"], deps = [ "//pkg/f8n/warehouse/cluster", "//pkg/f8n/warehouse/k8s/apis/v1alpha2", "//pkg/f8n/warehouse/k8s/kauth", "//pkg/f8n/warehouse/oci", "//pkg/f8n/warehouse/oci/cache", "//pkg/f8n/warehouse/oci/remote", "//pkg/k8s/runtime/conditions", "//pkg/k8s/runtime/controller/metrics", "//pkg/k8s/runtime/controller/reconcile", "//pkg/k8s/runtime/controller/reconcile/recerr", "//pkg/k8s/runtime/patch", "//pkg/k8s/runtime/sap", "//pkg/k8s/runtime/statusreaders", "@com_github_go_logr_logr//:logr", "@com_github_google_go_containerregistry//pkg/authn", "@com_github_google_go_containerregistry//pkg/name", "@com_github_google_go_containerregistry//pkg/v1/google", "@com_github_prometheus_client_golang//prometheus", "@io_k8s_sigs_controller_runtime//:controller-runtime", "@io_k8s_sigs_controller_runtime//pkg/client", ], ) go_test( name = "internal_test", srcs = ["liveness_test.go"], embed = [":internal"], visibility = ["//visibility:public"], deps = [ "//pkg/f8n/warehouse/k8s/apis/v1alpha2", "@com_github_go_logr_logr//:logr", ], )