BUILD 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "firewall.go",
  6. "gce.go",
  7. "ingress.go",
  8. "recreate_node.go",
  9. "util.go",
  10. ],
  11. importpath = "k8s.io/kubernetes/test/e2e/framework/providers/gce",
  12. visibility = ["//visibility:public"],
  13. deps = [
  14. "//staging/src/k8s.io/api/core/v1:go_default_library",
  15. "//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
  16. "//staging/src/k8s.io/apimachinery/pkg/fields:go_default_library",
  17. "//staging/src/k8s.io/apimachinery/pkg/labels:go_default_library",
  18. "//staging/src/k8s.io/apimachinery/pkg/util/sets:go_default_library",
  19. "//staging/src/k8s.io/apimachinery/pkg/util/uuid:go_default_library",
  20. "//staging/src/k8s.io/apimachinery/pkg/util/wait:go_default_library",
  21. "//staging/src/k8s.io/client-go/kubernetes:go_default_library",
  22. "//staging/src/k8s.io/cloud-provider:go_default_library",
  23. "//staging/src/k8s.io/legacy-cloud-providers/gce:go_default_library",
  24. "//test/e2e/framework:go_default_library",
  25. "//test/e2e/framework/node:go_default_library",
  26. "//test/e2e/framework/pod:go_default_library",
  27. "//test/e2e/framework/pv:go_default_library",
  28. "//test/e2e/framework/service:go_default_library",
  29. "//test/e2e/framework/skipper:go_default_library",
  30. "//test/utils:go_default_library",
  31. "//vendor/github.com/onsi/ginkgo:go_default_library",
  32. "//vendor/google.golang.org/api/compute/v1:go_default_library",
  33. "//vendor/google.golang.org/api/googleapi:go_default_library",
  34. "//vendor/k8s.io/utils/exec:go_default_library",
  35. ],
  36. )
  37. go_test(
  38. name = "go_default_test",
  39. srcs = ["firewall_test.go"],
  40. embed = [":go_default_library"],
  41. )
  42. filegroup(
  43. name = "package-srcs",
  44. srcs = glob(["**"]),
  45. tags = ["automanaged"],
  46. visibility = ["//visibility:private"],
  47. )
  48. filegroup(
  49. name = "all-srcs",
  50. srcs = [":package-srcs"],
  51. tags = ["automanaged"],
  52. visibility = ["//visibility:public"],
  53. )