BUILD 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "audit.go",
  6. "audit_dynamic.go",
  7. "certificates.go",
  8. "framework.go",
  9. "metadata_concealment.go",
  10. "node_authn.go",
  11. "node_authz.go",
  12. "pod_security_policy.go",
  13. "service_accounts.go",
  14. ],
  15. importpath = "k8s.io/kubernetes/test/e2e/auth",
  16. visibility = ["//visibility:public"],
  17. deps = [
  18. "//pkg/master/ports:go_default_library",
  19. "//pkg/security/apparmor:go_default_library",
  20. "//pkg/security/podsecuritypolicy/seccomp:go_default_library",
  21. "//pkg/security/podsecuritypolicy/util:go_default_library",
  22. "//plugin/pkg/admission/serviceaccount:go_default_library",
  23. "//staging/src/k8s.io/api/apps/v1:go_default_library",
  24. "//staging/src/k8s.io/api/auditregistration/v1alpha1:go_default_library",
  25. "//staging/src/k8s.io/api/authentication/v1:go_default_library",
  26. "//staging/src/k8s.io/api/batch/v1:go_default_library",
  27. "//staging/src/k8s.io/api/certificates/v1beta1:go_default_library",
  28. "//staging/src/k8s.io/api/core/v1:go_default_library",
  29. "//staging/src/k8s.io/api/policy/v1beta1:go_default_library",
  30. "//staging/src/k8s.io/api/rbac/v1:go_default_library",
  31. "//staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1:go_default_library",
  32. "//staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset:go_default_library",
  33. "//staging/src/k8s.io/apiextensions-apiserver/test/integration/fixtures:go_default_library",
  34. "//staging/src/k8s.io/apimachinery/pkg/api/errors:go_default_library",
  35. "//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
  36. "//staging/src/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
  37. "//staging/src/k8s.io/apimachinery/pkg/types:go_default_library",
  38. "//staging/src/k8s.io/apimachinery/pkg/util/intstr:go_default_library",
  39. "//staging/src/k8s.io/apimachinery/pkg/util/sets:go_default_library",
  40. "//staging/src/k8s.io/apimachinery/pkg/util/uuid:go_default_library",
  41. "//staging/src/k8s.io/apimachinery/pkg/util/wait:go_default_library",
  42. "//staging/src/k8s.io/apiserver/pkg/apis/audit:go_default_library",
  43. "//staging/src/k8s.io/apiserver/pkg/apis/audit/v1:go_default_library",
  44. "//staging/src/k8s.io/apiserver/pkg/authentication/serviceaccount:go_default_library",
  45. "//staging/src/k8s.io/client-go/kubernetes:go_default_library",
  46. "//staging/src/k8s.io/client-go/kubernetes/typed/certificates/v1beta1:go_default_library",
  47. "//staging/src/k8s.io/client-go/rest:go_default_library",
  48. "//staging/src/k8s.io/client-go/util/cert:go_default_library",
  49. "//test/e2e/framework:go_default_library",
  50. "//test/e2e/framework/auth:go_default_library",
  51. "//test/e2e/framework/deployment:go_default_library",
  52. "//test/e2e/framework/job:go_default_library",
  53. "//test/e2e/framework/kubectl:go_default_library",
  54. "//test/e2e/framework/node:go_default_library",
  55. "//test/e2e/framework/pod:go_default_library",
  56. "//test/e2e/framework/skipper:go_default_library",
  57. "//test/utils:go_default_library",
  58. "//test/utils/image:go_default_library",
  59. "//vendor/github.com/evanphx/json-patch:go_default_library",
  60. "//vendor/github.com/onsi/ginkgo:go_default_library",
  61. "//vendor/github.com/onsi/gomega:go_default_library",
  62. "//vendor/k8s.io/utils/pointer:go_default_library",
  63. ],
  64. )
  65. filegroup(
  66. name = "package-srcs",
  67. srcs = glob(["**"]),
  68. tags = ["automanaged"],
  69. visibility = ["//visibility:private"],
  70. )
  71. filegroup(
  72. name = "all-srcs",
  73. srcs = [":package-srcs"],
  74. tags = ["automanaged"],
  75. visibility = ["//visibility:public"],
  76. )