...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "match",
5 srcs = ["match.go"],
6 importpath = "edge-infra.dev/pkg/k8s/object/match",
7 visibility = ["//visibility:public"],
8 deps = [
9 "@io_k8s_apimachinery//pkg/runtime/schema",
10 "@io_k8s_sigs_controller_runtime//pkg/client",
11 ],
12)
13
14go_test(
15 name = "match_test",
16 srcs = ["match_test.go"],
17 embed = [":match"],
18 deps = [
19 "@io_k8s_apimachinery//pkg/apis/meta/v1/unstructured",
20 "@io_k8s_apimachinery//pkg/runtime/schema",
21 "@io_k8s_sigs_controller_runtime//pkg/client",
22 ],
23)
View as plain text