BUILD 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "const.go",
  6. "fixtures.go",
  7. "rest.go",
  8. "wait.go",
  9. ],
  10. importpath = "k8s.io/kubernetes/test/e2e/framework/job",
  11. visibility = ["//visibility:public"],
  12. deps = [
  13. "//pkg/controller/job:go_default_library",
  14. "//staging/src/k8s.io/api/batch/v1:go_default_library",
  15. "//staging/src/k8s.io/api/core/v1:go_default_library",
  16. "//staging/src/k8s.io/apimachinery/pkg/api/errors:go_default_library",
  17. "//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
  18. "//staging/src/k8s.io/apimachinery/pkg/labels:go_default_library",
  19. "//staging/src/k8s.io/apimachinery/pkg/util/rand: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. "//test/e2e/framework:go_default_library",
  23. ],
  24. )
  25. filegroup(
  26. name = "package-srcs",
  27. srcs = glob(["**"]),
  28. tags = ["automanaged"],
  29. visibility = ["//visibility:private"],
  30. )
  31. filegroup(
  32. name = "all-srcs",
  33. srcs = [":package-srcs"],
  34. tags = ["automanaged"],
  35. visibility = ["//visibility:public"],
  36. )