BUILD 4.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. package(default_visibility = ["//visibility:public"])
  2. load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
  3. go_test(
  4. name = "go_default_test",
  5. size = "large",
  6. srcs = [
  7. "crd_overlap_storage_test.go",
  8. "etcd_cross_group_test.go",
  9. "etcd_storage_path_test.go",
  10. "main_test.go",
  11. ],
  12. embed = [":go_default_library"],
  13. tags = [
  14. "etcd",
  15. "integration",
  16. ],
  17. deps = [
  18. "//cmd/kube-apiserver/app/options:go_default_library",
  19. "//staging/src/k8s.io/api/core/v1:go_default_library",
  20. "//staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1:go_default_library",
  21. "//staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1:go_default_library",
  22. "//staging/src/k8s.io/apiextensions-apiserver/pkg/controller/finalizer:go_default_library",
  23. "//staging/src/k8s.io/apimachinery/pkg/api/equality:go_default_library",
  24. "//staging/src/k8s.io/apimachinery/pkg/api/errors:go_default_library",
  25. "//staging/src/k8s.io/apimachinery/pkg/api/meta:go_default_library",
  26. "//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
  27. "//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured:go_default_library",
  28. "//staging/src/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
  29. "//staging/src/k8s.io/apimachinery/pkg/types:go_default_library",
  30. "//staging/src/k8s.io/apimachinery/pkg/util/diff:go_default_library",
  31. "//staging/src/k8s.io/apimachinery/pkg/util/sets:go_default_library",
  32. "//staging/src/k8s.io/apimachinery/pkg/util/wait:go_default_library",
  33. "//staging/src/k8s.io/apimachinery/pkg/watch:go_default_library",
  34. "//staging/src/k8s.io/client-go/dynamic:go_default_library",
  35. "//staging/src/k8s.io/kube-aggregator/pkg/apis/apiregistration/v1:go_default_library",
  36. "//staging/src/k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/typed/apiregistration/v1:go_default_library",
  37. "//test/integration/framework:go_default_library",
  38. "//vendor/go.etcd.io/etcd/clientv3:go_default_library",
  39. ],
  40. )
  41. filegroup(
  42. name = "package-srcs",
  43. srcs = glob(["**"]),
  44. tags = ["automanaged"],
  45. visibility = ["//visibility:private"],
  46. )
  47. filegroup(
  48. name = "all-srcs",
  49. srcs = [":package-srcs"],
  50. tags = ["automanaged"],
  51. )
  52. go_library(
  53. name = "go_default_library",
  54. srcs = [
  55. "data.go",
  56. "server.go",
  57. ],
  58. importpath = "k8s.io/kubernetes/test/integration/etcd",
  59. deps = [
  60. "//cmd/kube-apiserver/app:go_default_library",
  61. "//cmd/kube-apiserver/app/options:go_default_library",
  62. "//pkg/features:go_default_library",
  63. "//pkg/master:go_default_library",
  64. "//staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1:go_default_library",
  65. "//staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset:go_default_library",
  66. "//staging/src/k8s.io/apimachinery/pkg/api/meta:go_default_library",
  67. "//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
  68. "//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured:go_default_library",
  69. "//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library",
  70. "//staging/src/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
  71. "//staging/src/k8s.io/apimachinery/pkg/util/wait:go_default_library",
  72. "//staging/src/k8s.io/apiserver/pkg/server/options:go_default_library",
  73. "//staging/src/k8s.io/apiserver/pkg/util/feature:go_default_library",
  74. "//staging/src/k8s.io/client-go/discovery/cached/memory:go_default_library",
  75. "//staging/src/k8s.io/client-go/dynamic:go_default_library",
  76. "//staging/src/k8s.io/client-go/kubernetes:go_default_library",
  77. "//staging/src/k8s.io/client-go/rest:go_default_library",
  78. "//staging/src/k8s.io/client-go/restmapper:go_default_library",
  79. "//test/integration:go_default_library",
  80. "//test/integration/framework:go_default_library",
  81. "//vendor/go.etcd.io/etcd/clientv3:go_default_library",
  82. "//vendor/go.etcd.io/etcd/clientv3/concurrency:go_default_library",
  83. "//vendor/k8s.io/utils/pointer:go_default_library",
  84. ],
  85. )