...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "conditions",
5 srcs = [
6 "doc.go",
7 "getter.go",
8 "matcher.go",
9 "merge.go",
10 "patch.go",
11 "setter.go",
12 "status.go",
13 "strategies.go",
14 ],
15 importpath = "edge-infra.dev/pkg/k8s/runtime/conditions",
16 visibility = ["//visibility:public"],
17 deps = [
18 "//pkg/k8s/meta/status",
19 "@com_github_google_go_cmp//cmp",
20 "@com_github_onsi_gomega//:gomega",
21 "@com_github_onsi_gomega//format",
22 "@com_github_onsi_gomega//types",
23 "@com_github_pkg_errors//:errors",
24 "@io_k8s_apimachinery//pkg/apis/meta/v1:meta",
25 "@io_k8s_sigs_controller_runtime//pkg/client",
26 ],
27)
28
29go_test(
30 name = "conditions_test",
31 srcs = [
32 "getter_test.go",
33 "matcher_test.go",
34 "merge_test.go",
35 "patch_test.go",
36 "setter_test.go",
37 "strategies_test.go",
38 ],
39 data = glob(["testdata/**"]),
40 embed = [":conditions"],
41 deps = [
42 "//pkg/k8s/meta/status",
43 "//pkg/k8s/object/fobject",
44 "@com_github_adalogics_go_fuzz_headers//:go-fuzz-headers",
45 "@com_github_onsi_gomega//:gomega",
46 "@com_github_onsi_gomega//format",
47 "@com_github_onsi_gomega//types",
48 "@com_github_pkg_errors//:errors",
49 "@io_k8s_apimachinery//pkg/apis/meta/v1:meta",
50 ],
51)
View as plain text