2018-01-09 18:57:14 +00:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
|
|
|
load(
|
|
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
|
|
"go_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
size = "large",
|
|
|
|
srcs = [
|
|
|
|
"accessreview_test.go",
|
|
|
|
"auth_test.go",
|
|
|
|
"bootstraptoken_test.go",
|
|
|
|
"main_test.go",
|
|
|
|
"node_test.go",
|
|
|
|
"rbac_test.go",
|
2018-03-06 22:33:18 +00:00
|
|
|
"svcaccttoken_test.go",
|
2018-01-09 18:57:14 +00:00
|
|
|
],
|
2018-11-26 18:23:56 +00:00
|
|
|
data = [
|
|
|
|
"//staging/src/k8s.io/csi-api/pkg/crd:csi-manifests",
|
|
|
|
],
|
2018-01-09 18:57:14 +00:00
|
|
|
tags = ["integration"],
|
|
|
|
deps = [
|
2018-11-26 18:23:56 +00:00
|
|
|
"//cmd/kube-apiserver/app/testing:go_default_library",
|
2018-01-09 18:57:14 +00:00
|
|
|
"//pkg/api/legacyscheme:go_default_library",
|
|
|
|
"//pkg/api/testapi:go_default_library",
|
|
|
|
"//pkg/apis/authorization:go_default_library",
|
|
|
|
"//pkg/apis/autoscaling:go_default_library",
|
2018-11-26 18:23:56 +00:00
|
|
|
"//pkg/apis/coordination:go_default_library",
|
2018-01-09 18:57:14 +00:00
|
|
|
"//pkg/apis/core:go_default_library",
|
|
|
|
"//pkg/apis/extensions:go_default_library",
|
|
|
|
"//pkg/apis/policy:go_default_library",
|
|
|
|
"//pkg/apis/rbac:go_default_library",
|
|
|
|
"//pkg/auth/authorizer/abac:go_default_library",
|
|
|
|
"//pkg/client/clientset_generated/internalclientset:go_default_library",
|
2018-03-06 22:33:18 +00:00
|
|
|
"//pkg/controller/serviceaccount:go_default_library",
|
2018-01-09 18:57:14 +00:00
|
|
|
"//pkg/features:go_default_library",
|
|
|
|
"//pkg/master:go_default_library",
|
|
|
|
"//pkg/registry/rbac/clusterrole:go_default_library",
|
|
|
|
"//pkg/registry/rbac/clusterrole/storage:go_default_library",
|
|
|
|
"//pkg/registry/rbac/clusterrolebinding:go_default_library",
|
|
|
|
"//pkg/registry/rbac/clusterrolebinding/storage:go_default_library",
|
|
|
|
"//pkg/registry/rbac/role:go_default_library",
|
|
|
|
"//pkg/registry/rbac/role/storage:go_default_library",
|
|
|
|
"//pkg/registry/rbac/rolebinding:go_default_library",
|
|
|
|
"//pkg/registry/rbac/rolebinding/storage:go_default_library",
|
2018-03-06 22:33:18 +00:00
|
|
|
"//pkg/serviceaccount:go_default_library",
|
2018-01-09 18:57:14 +00:00
|
|
|
"//plugin/pkg/auth/authenticator/token/bootstrap:go_default_library",
|
|
|
|
"//plugin/pkg/auth/authorizer/rbac:go_default_library",
|
2018-11-26 18:23:56 +00:00
|
|
|
"//staging/src/k8s.io/api/authentication/v1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/api/authentication/v1beta1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/api/core/v1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/api/storage/v1beta1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/api/errors:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/api/resource:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/labels:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/types:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/wait:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/watch:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/authentication/authenticator:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/authentication/group:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/authentication/request/bearertoken:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/authentication/serviceaccount:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/authentication/token/cache:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/authentication/token/tokenfile:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/authentication/user:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/authorization/authorizer:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/authorization/authorizerfactory:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/registry/generic:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/util/feature:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/util/feature/testing:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/tokentest:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/webhook:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/kubernetes:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/rest:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/tools/clientcmd/api/v1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/tools/watch:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/transport:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/util/cert:go_default_library",
|
|
|
|
"//staging/src/k8s.io/cluster-bootstrap/token/api:go_default_library",
|
|
|
|
"//staging/src/k8s.io/csi-api/pkg/apis/csi/v1alpha1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/csi-api/pkg/client/clientset/versioned:go_default_library",
|
2018-01-09 18:57:14 +00:00
|
|
|
"//test/e2e/lifecycle/bootstrap:go_default_library",
|
|
|
|
"//test/integration:go_default_library",
|
2018-11-26 18:23:56 +00:00
|
|
|
"//test/integration/etcd:go_default_library",
|
2018-01-09 18:57:14 +00:00
|
|
|
"//test/integration/framework:go_default_library",
|
2018-07-18 14:47:22 +00:00
|
|
|
"//vendor/gopkg.in/square/go-jose.v2/jwt:go_default_library",
|
2018-11-26 18:23:56 +00:00
|
|
|
"//vendor/k8s.io/klog:go_default_library",
|
|
|
|
"//vendor/k8s.io/utils/pointer:go_default_library",
|
2018-01-09 18:57:14 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "package-srcs",
|
|
|
|
srcs = glob(["**"]),
|
|
|
|
tags = ["automanaged"],
|
|
|
|
visibility = ["//visibility:private"],
|
|
|
|
)
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "all-srcs",
|
|
|
|
srcs = [":package-srcs"],
|
|
|
|
tags = ["automanaged"],
|
|
|
|
)
|