BUILD 879 B

12345678910111213141516171819202122232425262728293031323334353637
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = ["timer.go"],
  5. importpath = "k8s.io/kubernetes/test/e2e/framework/timer",
  6. visibility = ["//visibility:public"],
  7. deps = [
  8. "//test/e2e/framework:go_default_library",
  9. "//test/e2e/perftype:go_default_library",
  10. ],
  11. )
  12. go_test(
  13. name = "go_default_test",
  14. srcs = ["timer_test.go"],
  15. embed = [":go_default_library"],
  16. deps = [
  17. "//test/e2e/framework:go_default_library",
  18. "//vendor/github.com/onsi/gomega:go_default_library",
  19. ],
  20. )
  21. filegroup(
  22. name = "package-srcs",
  23. srcs = glob(["**"]),
  24. tags = ["automanaged"],
  25. visibility = ["//visibility:private"],
  26. )
  27. filegroup(
  28. name = "all-srcs",
  29. srcs = [":package-srcs"],
  30. tags = ["automanaged"],
  31. visibility = ["//visibility:public"],
  32. )