load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "conditions", srcs = [ "doc.go", "getter.go", "matcher.go", "merge.go", "patch.go", "setter.go", "status.go", "strategies.go", ], importpath = "edge-infra.dev/pkg/k8s/runtime/conditions", visibility = ["//visibility:public"], deps = [ "//pkg/k8s/meta/status", "@com_github_google_go_cmp//cmp", "@com_github_onsi_gomega//:gomega", "@com_github_onsi_gomega//format", "@com_github_onsi_gomega//types", "@com_github_pkg_errors//:errors", "@io_k8s_apimachinery//pkg/apis/meta/v1:meta", "@io_k8s_sigs_controller_runtime//pkg/client", ], ) go_test( name = "conditions_test", srcs = [ "getter_test.go", "matcher_test.go", "merge_test.go", "patch_test.go", "setter_test.go", "strategies_test.go", ], data = glob(["testdata/**"]), embed = [":conditions"], deps = [ "//pkg/k8s/meta/status", "//pkg/k8s/object/fobject", "@com_github_adalogics_go_fuzz_headers//:go-fuzz-headers", "@com_github_onsi_gomega//:gomega", "@com_github_onsi_gomega//format", "@com_github_onsi_gomega//types", "@com_github_pkg_errors//:errors", "@io_k8s_apimachinery//pkg/apis/meta/v1:meta", ], )