BUILD 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "cleanup.go",
  6. "exec_util.go",
  7. "expect.go",
  8. "flake_reporting_util.go",
  9. "framework.go",
  10. "google_compute.go",
  11. "log.go",
  12. "log_size_monitoring.go",
  13. "nodes_util.go",
  14. "pods.go",
  15. "provider.go",
  16. "psp.go",
  17. "resource_usage_gatherer.go",
  18. "size.go",
  19. "test_context.go",
  20. "util.go",
  21. ],
  22. importpath = "k8s.io/kubernetes/test/e2e/framework",
  23. visibility = ["//visibility:public"],
  24. deps = [
  25. "//pkg/api/v1/pod:go_default_library",
  26. "//pkg/client/conditions:go_default_library",
  27. "//pkg/controller:go_default_library",
  28. "//pkg/kubelet/apis/config:go_default_library",
  29. "//pkg/kubelet/apis/stats/v1alpha1:go_default_library",
  30. "//pkg/kubelet/events:go_default_library",
  31. "//pkg/kubelet/sysctl:go_default_library",
  32. "//pkg/master/ports:go_default_library",
  33. "//pkg/security/podsecuritypolicy/seccomp:go_default_library",
  34. "//pkg/util/taints:go_default_library",
  35. "//staging/src/k8s.io/api/apps/v1:go_default_library",
  36. "//staging/src/k8s.io/api/core/v1:go_default_library",
  37. "//staging/src/k8s.io/api/policy/v1beta1:go_default_library",
  38. "//staging/src/k8s.io/api/rbac/v1:go_default_library",
  39. "//staging/src/k8s.io/apimachinery/pkg/api/errors:go_default_library",
  40. "//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
  41. "//staging/src/k8s.io/apimachinery/pkg/fields:go_default_library",
  42. "//staging/src/k8s.io/apimachinery/pkg/labels:go_default_library",
  43. "//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library",
  44. "//staging/src/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
  45. "//staging/src/k8s.io/apimachinery/pkg/util/intstr:go_default_library",
  46. "//staging/src/k8s.io/apimachinery/pkg/util/runtime:go_default_library",
  47. "//staging/src/k8s.io/apimachinery/pkg/util/sets:go_default_library",
  48. "//staging/src/k8s.io/apimachinery/pkg/util/uuid:go_default_library",
  49. "//staging/src/k8s.io/apimachinery/pkg/util/wait:go_default_library",
  50. "//staging/src/k8s.io/apimachinery/pkg/util/yaml:go_default_library",
  51. "//staging/src/k8s.io/apiserver/pkg/authentication/serviceaccount:go_default_library",
  52. "//staging/src/k8s.io/client-go/discovery:go_default_library",
  53. "//staging/src/k8s.io/client-go/discovery/cached/memory:go_default_library",
  54. "//staging/src/k8s.io/client-go/dynamic:go_default_library",
  55. "//staging/src/k8s.io/client-go/kubernetes:go_default_library",
  56. "//staging/src/k8s.io/client-go/kubernetes/scheme:go_default_library",
  57. "//staging/src/k8s.io/client-go/kubernetes/typed/core/v1:go_default_library",
  58. "//staging/src/k8s.io/client-go/rest:go_default_library",
  59. "//staging/src/k8s.io/client-go/restmapper:go_default_library",
  60. "//staging/src/k8s.io/client-go/scale:go_default_library",
  61. "//staging/src/k8s.io/client-go/tools/clientcmd:go_default_library",
  62. "//staging/src/k8s.io/client-go/tools/clientcmd/api:go_default_library",
  63. "//staging/src/k8s.io/client-go/tools/remotecommand:go_default_library",
  64. "//staging/src/k8s.io/client-go/tools/watch:go_default_library",
  65. "//staging/src/k8s.io/component-base/cli/flag:go_default_library",
  66. "//test/e2e/framework/auth:go_default_library",
  67. "//test/e2e/framework/ginkgowrapper:go_default_library",
  68. "//test/e2e/framework/kubectl:go_default_library",
  69. "//test/e2e/framework/metrics:go_default_library",
  70. "//test/e2e/framework/node:go_default_library",
  71. "//test/e2e/framework/pod:go_default_library",
  72. "//test/e2e/framework/resource:go_default_library",
  73. "//test/e2e/framework/ssh:go_default_library",
  74. "//test/e2e/system:go_default_library",
  75. "//test/utils:go_default_library",
  76. "//test/utils/image:go_default_library",
  77. "//vendor/github.com/onsi/ginkgo:go_default_library",
  78. "//vendor/github.com/onsi/ginkgo/config:go_default_library",
  79. "//vendor/github.com/onsi/gomega:go_default_library",
  80. "//vendor/github.com/onsi/gomega/types:go_default_library",
  81. "//vendor/github.com/pkg/errors:go_default_library",
  82. "//vendor/golang.org/x/net/websocket:go_default_library",
  83. "//vendor/k8s.io/klog:go_default_library",
  84. "//vendor/k8s.io/utils/exec:go_default_library",
  85. ],
  86. )
  87. go_test(
  88. name = "go_default_test",
  89. srcs = ["log_test.go"],
  90. embed = [":go_default_library"],
  91. deps = [
  92. "//vendor/github.com/onsi/ginkgo:go_default_library",
  93. "//vendor/github.com/onsi/ginkgo/config:go_default_library",
  94. "//vendor/github.com/onsi/ginkgo/reporters:go_default_library",
  95. "//vendor/github.com/onsi/gomega:go_default_library",
  96. ],
  97. )
  98. filegroup(
  99. name = "package-srcs",
  100. srcs = glob(["**"]),
  101. tags = ["automanaged"],
  102. visibility = ["//visibility:private"],
  103. )
  104. filegroup(
  105. name = "all-srcs",
  106. srcs = [
  107. ":package-srcs",
  108. "//test/e2e/framework/auth:all-srcs",
  109. "//test/e2e/framework/autoscaling:all-srcs",
  110. "//test/e2e/framework/config:all-srcs",
  111. "//test/e2e/framework/deployment:all-srcs",
  112. "//test/e2e/framework/endpoints:all-srcs",
  113. "//test/e2e/framework/events:all-srcs",
  114. "//test/e2e/framework/ginkgowrapper:all-srcs",
  115. "//test/e2e/framework/gpu:all-srcs",
  116. "//test/e2e/framework/ingress:all-srcs",
  117. "//test/e2e/framework/job:all-srcs",
  118. "//test/e2e/framework/kubectl:all-srcs",
  119. "//test/e2e/framework/kubelet:all-srcs",
  120. "//test/e2e/framework/log:all-srcs",
  121. "//test/e2e/framework/metrics:all-srcs",
  122. "//test/e2e/framework/network:all-srcs",
  123. "//test/e2e/framework/node:all-srcs",
  124. "//test/e2e/framework/perf:all-srcs",
  125. "//test/e2e/framework/pod:all-srcs",
  126. "//test/e2e/framework/podlogs:all-srcs",
  127. "//test/e2e/framework/providers/aws:all-srcs",
  128. "//test/e2e/framework/providers/azure:all-srcs",
  129. "//test/e2e/framework/providers/gce:all-srcs",
  130. "//test/e2e/framework/providers/kubemark:all-srcs",
  131. "//test/e2e/framework/providers/openstack:all-srcs",
  132. "//test/e2e/framework/providers/vsphere:all-srcs",
  133. "//test/e2e/framework/pv:all-srcs",
  134. "//test/e2e/framework/rc:all-srcs",
  135. "//test/e2e/framework/replicaset:all-srcs",
  136. "//test/e2e/framework/resource:all-srcs",
  137. "//test/e2e/framework/security:all-srcs",
  138. "//test/e2e/framework/service:all-srcs",
  139. "//test/e2e/framework/skipper:all-srcs",
  140. "//test/e2e/framework/ssh:all-srcs",
  141. "//test/e2e/framework/statefulset:all-srcs",
  142. "//test/e2e/framework/testfiles:all-srcs",
  143. "//test/e2e/framework/timer:all-srcs",
  144. "//test/e2e/framework/volume:all-srcs",
  145. ],
  146. tags = ["automanaged"],
  147. visibility = ["//visibility:public"],
  148. )