BUILD 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. package(default_visibility = ["//visibility:public"])
  2. load(
  3. "@io_bazel_rules_go//go:def.bzl",
  4. "go_binary",
  5. "go_library",
  6. )
  7. go_binary(
  8. name = "agnhost",
  9. embed = [":go_default_library"],
  10. )
  11. go_library(
  12. name = "go_default_library",
  13. srcs = ["agnhost.go"],
  14. importpath = "k8s.io/kubernetes/test/images/agnhost",
  15. deps = [
  16. "//test/images/agnhost/audit-proxy:go_default_library",
  17. "//test/images/agnhost/connect:go_default_library",
  18. "//test/images/agnhost/crd-conversion-webhook:go_default_library",
  19. "//test/images/agnhost/dns:go_default_library",
  20. "//test/images/agnhost/entrypoint-tester:go_default_library",
  21. "//test/images/agnhost/fakegitserver:go_default_library",
  22. "//test/images/agnhost/guestbook:go_default_library",
  23. "//test/images/agnhost/inclusterclient:go_default_library",
  24. "//test/images/agnhost/liveness:go_default_library",
  25. "//test/images/agnhost/logs-generator:go_default_library",
  26. "//test/images/agnhost/mounttest:go_default_library",
  27. "//test/images/agnhost/net:go_default_library",
  28. "//test/images/agnhost/netexec:go_default_library",
  29. "//test/images/agnhost/nettest:go_default_library",
  30. "//test/images/agnhost/no-snat-test:go_default_library",
  31. "//test/images/agnhost/no-snat-test-proxy:go_default_library",
  32. "//test/images/agnhost/pause:go_default_library",
  33. "//test/images/agnhost/port-forward-tester:go_default_library",
  34. "//test/images/agnhost/porter:go_default_library",
  35. "//test/images/agnhost/resource-consumer-controller:go_default_library",
  36. "//test/images/agnhost/serve-hostname:go_default_library",
  37. "//test/images/agnhost/test-webserver:go_default_library",
  38. "//test/images/agnhost/webhook:go_default_library",
  39. "//vendor/github.com/spf13/cobra:go_default_library",
  40. "//vendor/k8s.io/klog:go_default_library",
  41. ],
  42. )
  43. filegroup(
  44. name = "package-srcs",
  45. srcs = glob(["**"]),
  46. tags = ["automanaged"],
  47. visibility = ["//visibility:private"],
  48. )
  49. filegroup(
  50. name = "all-srcs",
  51. srcs = [
  52. ":package-srcs",
  53. "//test/images/agnhost/audit-proxy:all-srcs",
  54. "//test/images/agnhost/connect:all-srcs",
  55. "//test/images/agnhost/crd-conversion-webhook:all-srcs",
  56. "//test/images/agnhost/dns:all-srcs",
  57. "//test/images/agnhost/entrypoint-tester:all-srcs",
  58. "//test/images/agnhost/fakegitserver:all-srcs",
  59. "//test/images/agnhost/guestbook:all-srcs",
  60. "//test/images/agnhost/inclusterclient:all-srcs",
  61. "//test/images/agnhost/liveness:all-srcs",
  62. "//test/images/agnhost/logs-generator:all-srcs",
  63. "//test/images/agnhost/mounttest:all-srcs",
  64. "//test/images/agnhost/net:all-srcs",
  65. "//test/images/agnhost/netexec:all-srcs",
  66. "//test/images/agnhost/nettest:all-srcs",
  67. "//test/images/agnhost/no-snat-test:all-srcs",
  68. "//test/images/agnhost/no-snat-test-proxy:all-srcs",
  69. "//test/images/agnhost/pause:all-srcs",
  70. "//test/images/agnhost/port-forward-tester:all-srcs",
  71. "//test/images/agnhost/porter:all-srcs",
  72. "//test/images/agnhost/resource-consumer-controller:all-srcs",
  73. "//test/images/agnhost/serve-hostname:all-srcs",
  74. "//test/images/agnhost/test-webserver:all-srcs",
  75. "//test/images/agnhost/webhook:all-srcs",
  76. ],
  77. tags = ["automanaged"],
  78. )