load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "match", srcs = ["match.go"], importpath = "edge-infra.dev/pkg/k8s/object/match", visibility = ["//visibility:public"], deps = [ "@io_k8s_apimachinery//pkg/runtime/schema", "@io_k8s_sigs_controller_runtime//pkg/client", ], ) go_test( name = "match_test", srcs = ["match_test.go"], embed = [":match"], deps = [ "@io_k8s_apimachinery//pkg/apis/meta/v1/unstructured", "@io_k8s_apimachinery//pkg/runtime/schema", "@io_k8s_sigs_controller_runtime//pkg/client", ], )