Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
ca58ec02
Commit
ca58ec02
authored
Jan 04, 2017
by
deads2k
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mechanical changes for move
parent
442d2c14
Hide whitespace changes
Inline
Side-by-side
Showing
115 changed files
with
144 additions
and
135 deletions
+144
-135
BUILD
cmd/kubernetes-discovery/pkg/apiserver/BUILD
+1
-1
handler_proxy_test.go
cmd/kubernetes-discovery/pkg/apiserver/handler_proxy_test.go
+1
-1
BUILD
pkg/admission/BUILD
+1
-1
attributes.go
pkg/admission/attributes.go
+1
-1
interfaces.go
pkg/admission/interfaces.go
+1
-1
BUILD
pkg/apis/abac/v0/BUILD
+2
-2
conversion.go
pkg/apis/abac/v0/conversion.go
+1
-1
conversion_test.go
pkg/apis/abac/v0/conversion_test.go
+1
-1
BUILD
pkg/apis/abac/v1beta1/BUILD
+2
-2
conversion.go
pkg/apis/abac/v1beta1/conversion.go
+1
-1
conversion_test.go
pkg/apis/abac/v1beta1/conversion_test.go
+1
-1
BUILD
pkg/apis/rbac/validation/BUILD
+2
-2
rulevalidation.go
pkg/apis/rbac/validation/rulevalidation.go
+1
-1
rulevalidation_test.go
pkg/apis/rbac/validation/rulevalidation_test.go
+1
-1
BUILD
pkg/auth/authenticator/BUILD
+1
-1
BUILD
pkg/auth/authenticator/bearertoken/BUILD
+2
-2
bearertoken.go
pkg/auth/authenticator/bearertoken/bearertoken.go
+1
-1
bearertoken_test.go
pkg/auth/authenticator/bearertoken/bearertoken_test.go
+1
-1
interfaces.go
pkg/auth/authenticator/interfaces.go
+1
-1
BUILD
pkg/auth/authorizer/BUILD
+1
-1
BUILD
pkg/auth/authorizer/abac/BUILD
+1
-1
abac_test.go
pkg/auth/authorizer/abac/abac_test.go
+1
-1
interfaces.go
pkg/auth/authorizer/interfaces.go
+1
-1
BUILD
pkg/auth/group/BUILD
+2
-2
group_adder.go
pkg/auth/group/group_adder.go
+1
-1
group_adder_test.go
pkg/auth/group/group_adder_test.go
+1
-1
BUILD
pkg/auth/handlers/BUILD
+1
-1
handlers_test.go
pkg/auth/handlers/handlers_test.go
+1
-1
BUILD
pkg/genericapiserver/BUILD
+2
-2
BUILD
pkg/genericapiserver/api/filters/BUILD
+2
-2
audit_test.go
pkg/genericapiserver/api/filters/audit_test.go
+1
-1
impersonation.go
pkg/genericapiserver/api/filters/impersonation.go
+1
-1
impersonation_test.go
pkg/genericapiserver/api/filters/impersonation_test.go
+1
-1
BUILD
pkg/genericapiserver/api/request/BUILD
+2
-2
context.go
pkg/genericapiserver/api/request/context.go
+1
-1
context_test.go
pkg/genericapiserver/api/request/context_test.go
+1
-1
BUILD
pkg/genericapiserver/authenticator/BUILD
+1
-1
delegating.go
pkg/genericapiserver/authenticator/delegating.go
+1
-1
loopback.go
pkg/genericapiserver/authenticator/loopback.go
+1
-1
BUILD
pkg/genericapiserver/authorizer/BUILD
+1
-1
authz_test.go
pkg/genericapiserver/authorizer/authz_test.go
+1
-1
config.go
pkg/genericapiserver/config.go
+1
-1
genericapiserver_test.go
pkg/genericapiserver/genericapiserver_test.go
+1
-1
BUILD
pkg/kubeapiserver/authenticator/BUILD
+1
-1
config.go
pkg/kubeapiserver/authenticator/config.go
+1
-1
BUILD
pkg/kubelet/server/BUILD
+2
-2
auth.go
pkg/kubelet/server/auth.go
+1
-1
server_test.go
pkg/kubelet/server/server_test.go
+1
-1
BUILD
pkg/registry/authorization/util/BUILD
+1
-1
helpers.go
pkg/registry/authorization/util/helpers.go
+1
-1
BUILD
pkg/registry/certificates/certificates/BUILD
+1
-1
strategy_test.go
pkg/registry/certificates/certificates/strategy_test.go
+1
-1
BUILD
pkg/registry/rbac/BUILD
+1
-1
escalation_check.go
pkg/registry/rbac/escalation_check.go
+1
-1
BUILD
pkg/serviceaccount/BUILD
+1
-1
jwt.go
pkg/serviceaccount/jwt.go
+1
-1
util.go
pkg/serviceaccount/util.go
+1
-1
BUILD
plugin/pkg/admission/gc/BUILD
+1
-1
gc_admission_test.go
plugin/pkg/admission/gc/gc_admission_test.go
+1
-1
BUILD
plugin/pkg/admission/imagepolicy/BUILD
+1
-1
admission_test.go
plugin/pkg/admission/imagepolicy/admission_test.go
+1
-1
BUILD
plugin/pkg/admission/security/podsecuritypolicy/BUILD
+2
-2
admission.go
plugin/pkg/admission/security/podsecuritypolicy/admission.go
+1
-1
admission_test.go
...kg/admission/security/podsecuritypolicy/admission_test.go
+1
-1
BUILD
plugin/pkg/auth/authenticator/password/allow/BUILD
+1
-1
allow.go
plugin/pkg/auth/authenticator/password/allow/allow.go
+1
-1
BUILD
plugin/pkg/auth/authenticator/password/keystone/BUILD
+1
-1
keystone.go
plugin/pkg/auth/authenticator/password/keystone/keystone.go
+1
-1
BUILD
plugin/pkg/auth/authenticator/password/passwordfile/BUILD
+2
-2
passwordfile.go
.../auth/authenticator/password/passwordfile/passwordfile.go
+1
-1
passwordfile_test.go
.../authenticator/password/passwordfile/passwordfile_test.go
+1
-1
BUILD
plugin/pkg/auth/authenticator/request/anonymous/BUILD
+2
-2
anonymous.go
plugin/pkg/auth/authenticator/request/anonymous/anonymous.go
+1
-1
anonymous_test.go
...kg/auth/authenticator/request/anonymous/anonymous_test.go
+1
-1
BUILD
plugin/pkg/auth/authenticator/request/basicauth/BUILD
+2
-2
basicauth.go
plugin/pkg/auth/authenticator/request/basicauth/basicauth.go
+1
-1
basicauth_test.go
...kg/auth/authenticator/request/basicauth/basicauth_test.go
+1
-1
BUILD
plugin/pkg/auth/authenticator/request/headerrequest/BUILD
+2
-2
requestheader.go
...auth/authenticator/request/headerrequest/requestheader.go
+1
-1
requestheader_test.go
...authenticator/request/headerrequest/requestheader_test.go
+1
-1
BUILD
plugin/pkg/auth/authenticator/request/union/BUILD
+2
-2
union.go
plugin/pkg/auth/authenticator/request/union/union.go
+1
-1
unionauth_test.go
...in/pkg/auth/authenticator/request/union/unionauth_test.go
+1
-1
BUILD
plugin/pkg/auth/authenticator/request/x509/BUILD
+2
-2
x509.go
plugin/pkg/auth/authenticator/request/x509/x509.go
+1
-1
x509_test.go
plugin/pkg/auth/authenticator/request/x509/x509_test.go
+1
-1
BUILD
plugin/pkg/auth/authenticator/token/anytoken/BUILD
+2
-2
anytoken.go
plugin/pkg/auth/authenticator/token/anytoken/anytoken.go
+1
-1
anytoken_test.go
...in/pkg/auth/authenticator/token/anytoken/anytoken_test.go
+1
-1
BUILD
plugin/pkg/auth/authenticator/token/oidc/BUILD
+2
-2
oidc.go
plugin/pkg/auth/authenticator/token/oidc/oidc.go
+1
-1
oidc_test.go
plugin/pkg/auth/authenticator/token/oidc/oidc_test.go
+1
-1
BUILD
plugin/pkg/auth/authenticator/token/tokenfile/BUILD
+2
-2
tokenfile.go
plugin/pkg/auth/authenticator/token/tokenfile/tokenfile.go
+1
-1
tokenfile_test.go
.../pkg/auth/authenticator/token/tokenfile/tokenfile_test.go
+1
-1
BUILD
plugin/pkg/auth/authenticator/token/tokentest/BUILD
+1
-1
tokentest.go
plugin/pkg/auth/authenticator/token/tokentest/tokentest.go
+1
-1
BUILD
plugin/pkg/auth/authenticator/token/webhook/BUILD
+2
-2
webhook.go
plugin/pkg/auth/authenticator/token/webhook/webhook.go
+1
-1
webhook_test.go
plugin/pkg/auth/authenticator/token/webhook/webhook_test.go
+1
-1
BUILD
plugin/pkg/auth/authorizer/rbac/BUILD
+2
-2
BUILD
plugin/pkg/auth/authorizer/rbac/bootstrappolicy/BUILD
+1
-1
policy.go
plugin/pkg/auth/authorizer/rbac/bootstrappolicy/policy.go
+1
-1
rbac.go
plugin/pkg/auth/authorizer/rbac/rbac.go
+1
-1
rbac_test.go
plugin/pkg/auth/authorizer/rbac/rbac_test.go
+1
-1
subject_locator.go
plugin/pkg/auth/authorizer/rbac/subject_locator.go
+1
-1
subject_locator_test.go
plugin/pkg/auth/authorizer/rbac/subject_locator_test.go
+1
-1
BUILD
plugin/pkg/auth/authorizer/webhook/BUILD
+1
-1
webhook_test.go
plugin/pkg/auth/authorizer/webhook/webhook_test.go
+1
-1
accessreview_test.go
test/integration/auth/accessreview_test.go
+1
-1
auth_test.go
test/integration/auth/auth_test.go
+1
-1
BUILD
test/integration/framework/BUILD
+1
-1
master_utils.go
test/integration/framework/master_utils.go
+1
-1
service_account_test.go
test/integration/serviceaccount/service_account_test.go
+1
-1
BUILD
vendor/BUILD
+9
-0
No files found.
cmd/kubernetes-discovery/pkg/apiserver/BUILD
View file @
ca58ec02
...
...
@@ -70,12 +70,12 @@ go_test(
"//pkg/api:go_default_library",
"//pkg/api/v1:go_default_library",
"//pkg/apis/meta/v1:go_default_library",
"//pkg/auth/user:go_default_library",
"//pkg/client/cache:go_default_library",
"//pkg/client/listers/core/v1:go_default_library",
"//pkg/genericapiserver/api/request:go_default_library",
"//pkg/runtime:go_default_library",
"//pkg/util/diff:go_default_library",
"//pkg/util/sets:go_default_library",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
cmd/kubernetes-discovery/pkg/apiserver/handler_proxy_test.go
View file @
ca58ec02
...
...
@@ -25,8 +25,8 @@ import (
"strings"
"testing"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/auth/user"
genericapirequest
"k8s.io/kubernetes/pkg/genericapiserver/api/request"
"k8s.io/kubernetes/pkg/util/sets"
...
...
pkg/admission/BUILD
View file @
ca58ec02
...
...
@@ -22,12 +22,12 @@ go_library(
deps = [
"//pkg/api/errors:go_default_library",
"//pkg/api/meta:go_default_library",
"//pkg/auth/user:go_default_library",
"//pkg/runtime:go_default_library",
"//pkg/runtime/schema:go_default_library",
"//pkg/util/errors:go_default_library",
"//pkg/util/sets:go_default_library",
"//vendor:github.com/golang/glog",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
...
...
pkg/admission/attributes.go
View file @
ca58ec02
...
...
@@ -17,7 +17,7 @@ limitations under the License.
package
admission
import
(
"k8s.io/
kubernetes/pkg/auth
/user"
"k8s.io/
apiserver/pkg/authentication
/user"
"k8s.io/kubernetes/pkg/runtime"
"k8s.io/kubernetes/pkg/runtime/schema"
)
...
...
pkg/admission/interfaces.go
View file @
ca58ec02
...
...
@@ -17,7 +17,7 @@ limitations under the License.
package
admission
import
(
"k8s.io/
kubernetes/pkg/auth
/user"
"k8s.io/
apiserver/pkg/authentication
/user"
"k8s.io/kubernetes/pkg/runtime"
"k8s.io/kubernetes/pkg/runtime/schema"
)
...
...
pkg/apis/abac/v0/BUILD
View file @
ca58ec02
...
...
@@ -19,10 +19,10 @@ go_library(
deps = [
"//pkg/apis/abac:go_default_library",
"//pkg/apis/meta/v1:go_default_library",
"//pkg/auth/user:go_default_library",
"//pkg/conversion:go_default_library",
"//pkg/runtime:go_default_library",
"//pkg/runtime/schema:go_default_library",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
...
...
@@ -33,6 +33,6 @@ go_test(
deps = [
"//pkg/apis/abac:go_default_library",
"//pkg/apis/abac/v0:go_default_library",
"//
pkg/auth/user:go_default_library
",
"//
vendor:k8s.io/apiserver/pkg/authentication/user
",
],
)
pkg/apis/abac/v0/conversion.go
View file @
ca58ec02
...
...
@@ -17,8 +17,8 @@ limitations under the License.
package
v0
import
(
"k8s.io/apiserver/pkg/authentication/user"
api
"k8s.io/kubernetes/pkg/apis/abac"
"k8s.io/kubernetes/pkg/auth/user"
"k8s.io/kubernetes/pkg/conversion"
"k8s.io/kubernetes/pkg/runtime"
)
...
...
pkg/apis/abac/v0/conversion_test.go
View file @
ca58ec02
...
...
@@ -20,9 +20,9 @@ import (
"reflect"
"testing"
"k8s.io/apiserver/pkg/authentication/user"
api
"k8s.io/kubernetes/pkg/apis/abac"
"k8s.io/kubernetes/pkg/apis/abac/v0"
"k8s.io/kubernetes/pkg/auth/user"
)
func
TestV0Conversion
(
t
*
testing
.
T
)
{
...
...
pkg/apis/abac/v1beta1/BUILD
View file @
ca58ec02
...
...
@@ -22,10 +22,10 @@ go_library(
deps = [
"//pkg/apis/abac:go_default_library",
"//pkg/apis/meta/v1:go_default_library",
"//pkg/auth/user:go_default_library",
"//pkg/conversion:go_default_library",
"//pkg/runtime:go_default_library",
"//pkg/runtime/schema:go_default_library",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
...
...
@@ -36,6 +36,6 @@ go_test(
deps = [
"//pkg/apis/abac:go_default_library",
"//pkg/apis/abac/v1beta1:go_default_library",
"//
pkg/auth/user:go_default_library
",
"//
vendor:k8s.io/apiserver/pkg/authentication/user
",
],
)
pkg/apis/abac/v1beta1/conversion.go
View file @
ca58ec02
...
...
@@ -17,8 +17,8 @@ limitations under the License.
package
v1beta1
import
(
"k8s.io/apiserver/pkg/authentication/user"
api
"k8s.io/kubernetes/pkg/apis/abac"
"k8s.io/kubernetes/pkg/auth/user"
"k8s.io/kubernetes/pkg/conversion"
"k8s.io/kubernetes/pkg/runtime"
)
...
...
pkg/apis/abac/v1beta1/conversion_test.go
View file @
ca58ec02
...
...
@@ -20,9 +20,9 @@ import (
"reflect"
"testing"
"k8s.io/apiserver/pkg/authentication/user"
api
"k8s.io/kubernetes/pkg/apis/abac"
"k8s.io/kubernetes/pkg/apis/abac/v1beta1"
"k8s.io/kubernetes/pkg/auth/user"
)
func
TestV1Beta1Conversion
(
t
*
testing
.
T
)
{
...
...
pkg/apis/rbac/validation/BUILD
View file @
ca58ec02
...
...
@@ -21,12 +21,12 @@ go_library(
"//pkg/api/validation:go_default_library",
"//pkg/api/validation/path:go_default_library",
"//pkg/apis/rbac:go_default_library",
"//pkg/auth/user:go_default_library",
"//pkg/genericapiserver/api/request:go_default_library",
"//pkg/serviceaccount:go_default_library",
"//pkg/util/errors:go_default_library",
"//pkg/util/validation/field:go_default_library",
"//vendor:github.com/golang/glog",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
...
...
@@ -42,8 +42,8 @@ go_test(
deps = [
"//pkg/api:go_default_library",
"//pkg/apis/rbac:go_default_library",
"//pkg/auth/user:go_default_library",
"//pkg/util/diff:go_default_library",
"//pkg/util/validation/field:go_default_library",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
pkg/apis/rbac/validation/rulevalidation.go
View file @
ca58ec02
...
...
@@ -21,9 +21,9 @@ import (
"fmt"
"github.com/golang/glog"
"k8s.io/apiserver/pkg/authentication/user"
apierrors
"k8s.io/kubernetes/pkg/api/errors"
"k8s.io/kubernetes/pkg/apis/rbac"
"k8s.io/kubernetes/pkg/auth/user"
genericapirequest
"k8s.io/kubernetes/pkg/genericapiserver/api/request"
"k8s.io/kubernetes/pkg/serviceaccount"
utilerrors
"k8s.io/kubernetes/pkg/util/errors"
...
...
pkg/apis/rbac/validation/rulevalidation_test.go
View file @
ca58ec02
...
...
@@ -23,9 +23,9 @@ import (
"sort"
"testing"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/apis/rbac"
"k8s.io/kubernetes/pkg/auth/user"
"k8s.io/kubernetes/pkg/util/diff"
)
...
...
pkg/auth/authenticator/BUILD
View file @
ca58ec02
...
...
@@ -11,5 +11,5 @@ go_library(
name = "go_default_library",
srcs = ["interfaces.go"],
tags = ["automanaged"],
deps = ["//
pkg/auth/user:go_default_library
"],
deps = ["//
vendor:k8s.io/apiserver/pkg/authentication/user
"],
)
pkg/auth/authenticator/bearertoken/BUILD
View file @
ca58ec02
...
...
@@ -14,7 +14,7 @@ go_library(
tags = ["automanaged"],
deps = [
"//pkg/auth/authenticator:go_default_library",
"//
pkg/auth/user:go_default_library
",
"//
vendor:k8s.io/apiserver/pkg/authentication/user
",
],
)
...
...
@@ -25,6 +25,6 @@ go_test(
tags = ["automanaged"],
deps = [
"//pkg/auth/authenticator:go_default_library",
"//
pkg/auth/user:go_default_library
",
"//
vendor:k8s.io/apiserver/pkg/authentication/user
",
],
)
pkg/auth/authenticator/bearertoken/bearertoken.go
View file @
ca58ec02
...
...
@@ -20,8 +20,8 @@ import (
"net/http"
"strings"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/auth/authenticator"
"k8s.io/kubernetes/pkg/auth/user"
)
type
Authenticator
struct
{
...
...
pkg/auth/authenticator/bearertoken/bearertoken_test.go
View file @
ca58ec02
...
...
@@ -21,8 +21,8 @@ import (
"net/http"
"testing"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/auth/authenticator"
"k8s.io/kubernetes/pkg/auth/user"
)
func
TestAuthenticateRequest
(
t
*
testing
.
T
)
{
...
...
pkg/auth/authenticator/interfaces.go
View file @
ca58ec02
...
...
@@ -19,7 +19,7 @@ package authenticator
import
(
"net/http"
"k8s.io/
kubernetes/pkg/auth
/user"
"k8s.io/
apiserver/pkg/authentication
/user"
)
// Token checks a string value against a backing authentication store and returns
...
...
pkg/auth/authorizer/BUILD
View file @
ca58ec02
...
...
@@ -11,5 +11,5 @@ go_library(
name = "go_default_library",
srcs = ["interfaces.go"],
tags = ["automanaged"],
deps = ["//
pkg/auth/user:go_default_library
"],
deps = ["//
vendor:k8s.io/apiserver/pkg/authentication/user
"],
)
pkg/auth/authorizer/abac/BUILD
View file @
ca58ec02
...
...
@@ -43,7 +43,7 @@ go_test(
"//pkg/apis/abac/v0:go_default_library",
"//pkg/apis/abac/v1beta1:go_default_library",
"//pkg/auth/authorizer:go_default_library",
"//pkg/auth/user:go_default_library",
"//pkg/runtime:go_default_library",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
pkg/auth/authorizer/abac/abac_test.go
View file @
ca58ec02
...
...
@@ -21,11 +21,11 @@ import (
"os"
"testing"
"k8s.io/apiserver/pkg/authentication/user"
api
"k8s.io/kubernetes/pkg/apis/abac"
"k8s.io/kubernetes/pkg/apis/abac/v0"
"k8s.io/kubernetes/pkg/apis/abac/v1beta1"
"k8s.io/kubernetes/pkg/auth/authorizer"
"k8s.io/kubernetes/pkg/auth/user"
"k8s.io/kubernetes/pkg/runtime"
)
...
...
pkg/auth/authorizer/interfaces.go
View file @
ca58ec02
...
...
@@ -19,7 +19,7 @@ package authorizer
import
(
"net/http"
"k8s.io/
kubernetes/pkg/auth
/user"
"k8s.io/
apiserver/pkg/authentication
/user"
)
// Attributes is an interface used by an Authorizer to get information about a request
...
...
pkg/auth/group/BUILD
View file @
ca58ec02
...
...
@@ -14,7 +14,7 @@ go_library(
tags = ["automanaged"],
deps = [
"//pkg/auth/authenticator:go_default_library",
"//
pkg/auth/user:go_default_library
",
"//
vendor:k8s.io/apiserver/pkg/authentication/user
",
],
)
...
...
@@ -25,6 +25,6 @@ go_test(
tags = ["automanaged"],
deps = [
"//pkg/auth/authenticator:go_default_library",
"//
pkg/auth/user:go_default_library
",
"//
vendor:k8s.io/apiserver/pkg/authentication/user
",
],
)
pkg/auth/group/group_adder.go
View file @
ca58ec02
...
...
@@ -19,8 +19,8 @@ package group
import
(
"net/http"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/auth/authenticator"
"k8s.io/kubernetes/pkg/auth/user"
)
// GroupAdder adds groups to an authenticated user.Info
...
...
pkg/auth/group/group_adder_test.go
View file @
ca58ec02
...
...
@@ -21,8 +21,8 @@ import (
"reflect"
"testing"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/auth/authenticator"
"k8s.io/kubernetes/pkg/auth/user"
)
func
TestGroupAdder
(
t
*
testing
.
T
)
{
...
...
pkg/auth/handlers/BUILD
View file @
ca58ec02
...
...
@@ -27,7 +27,7 @@ go_test(
tags = ["automanaged"],
deps = [
"//pkg/auth/authenticator:go_default_library",
"//pkg/auth/user:go_default_library",
"//pkg/genericapiserver/api/request:go_default_library",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
pkg/auth/handlers/handlers_test.go
View file @
ca58ec02
...
...
@@ -22,8 +22,8 @@ import (
"net/http/httptest"
"testing"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/auth/authenticator"
"k8s.io/kubernetes/pkg/auth/user"
genericapirequest
"k8s.io/kubernetes/pkg/genericapiserver/api/request"
)
...
...
pkg/genericapiserver/BUILD
View file @
ca58ec02
...
...
@@ -37,7 +37,6 @@ go_library(
"//pkg/auth/authorizer:go_default_library",
"//pkg/auth/authorizer/union:go_default_library",
"//pkg/auth/handlers:go_default_library",
"//pkg/auth/user:go_default_library",
"//pkg/client/restclient:go_default_library",
"//pkg/genericapiserver/api:go_default_library",
"//pkg/genericapiserver/api/filters:go_default_library",
...
...
@@ -76,6 +75,7 @@ go_library(
"//vendor:github.com/pkg/errors",
"//vendor:github.com/prometheus/client_golang/prometheus",
"//vendor:gopkg.in/natefinch/lumberjack.v2",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
...
...
@@ -105,7 +105,6 @@ go_test(
"//pkg/apis/extensions/v1beta1:go_default_library",
"//pkg/apis/meta/v1:go_default_library",
"//pkg/auth/authorizer:go_default_library",
"//pkg/auth/user:go_default_library",
"//pkg/client/clientset_generated/clientset:go_default_library",
"//pkg/generated/openapi:go_default_library",
"//pkg/genericapiserver/api/request:go_default_library",
...
...
@@ -122,5 +121,6 @@ go_test(
"//pkg/version:go_default_library",
"//vendor:github.com/go-openapi/spec",
"//vendor:github.com/stretchr/testify/assert",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
pkg/genericapiserver/api/filters/BUILD
View file @
ca58ec02
...
...
@@ -22,7 +22,6 @@ go_library(
"//pkg/api:go_default_library",
"//pkg/apis/authentication:go_default_library",
"//pkg/auth/authorizer:go_default_library",
"//pkg/auth/user:go_default_library",
"//pkg/genericapiserver/api/handlers/responsewriters:go_default_library",
"//pkg/genericapiserver/api/request:go_default_library",
"//pkg/httplog:go_default_library",
...
...
@@ -30,6 +29,7 @@ go_library(
"//pkg/util/net:go_default_library",
"//vendor:github.com/golang/glog",
"//vendor:github.com/pborman/uuid",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
...
...
@@ -47,9 +47,9 @@ go_test(
"//pkg/apis/authentication:go_default_library",
"//pkg/apis/batch:go_default_library",
"//pkg/auth/authorizer:go_default_library",
"//pkg/auth/user:go_default_library",
"//pkg/genericapiserver/api/handlers/responsewriters:go_default_library",
"//pkg/genericapiserver/api/request:go_default_library",
"//pkg/util/sets:go_default_library",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
pkg/genericapiserver/api/filters/audit_test.go
View file @
ca58ec02
...
...
@@ -28,7 +28,7 @@ import (
"strings"
"testing"
"k8s.io/
kubernetes/pkg/auth
/user"
"k8s.io/
apiserver/pkg/authentication
/user"
"k8s.io/kubernetes/pkg/genericapiserver/api/request"
)
...
...
pkg/genericapiserver/api/filters/impersonation.go
View file @
ca58ec02
...
...
@@ -24,10 +24,10 @@ import (
"github.com/golang/glog"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/api"
authenticationapi
"k8s.io/kubernetes/pkg/apis/authentication"
"k8s.io/kubernetes/pkg/auth/authorizer"
"k8s.io/kubernetes/pkg/auth/user"
"k8s.io/kubernetes/pkg/genericapiserver/api/handlers/responsewriters"
"k8s.io/kubernetes/pkg/genericapiserver/api/request"
"k8s.io/kubernetes/pkg/httplog"
...
...
pkg/genericapiserver/api/filters/impersonation_test.go
View file @
ca58ec02
...
...
@@ -24,9 +24,9 @@ import (
"sync"
"testing"
"k8s.io/apiserver/pkg/authentication/user"
authenticationapi
"k8s.io/kubernetes/pkg/apis/authentication"
"k8s.io/kubernetes/pkg/auth/authorizer"
"k8s.io/kubernetes/pkg/auth/user"
"k8s.io/kubernetes/pkg/genericapiserver/api/request"
)
...
...
pkg/genericapiserver/api/request/BUILD
View file @
ca58ec02
...
...
@@ -18,11 +18,11 @@ go_library(
],
tags = ["automanaged"],
deps = [
"//pkg/auth/user:go_default_library",
"//pkg/types:go_default_library",
"//pkg/util/sets:go_default_library",
"//vendor:github.com/golang/glog",
"//vendor:golang.org/x/net/context",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
...
...
@@ -40,8 +40,8 @@ go_test(
tags = ["automanaged"],
deps = [
"//pkg/api:go_default_library",
"//pkg/auth/user:go_default_library",
"//pkg/genericapiserver/api/request:go_default_library",
"//pkg/types:go_default_library",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
pkg/genericapiserver/api/request/context.go
View file @
ca58ec02
...
...
@@ -21,7 +21,7 @@ import (
"time"
"golang.org/x/net/context"
"k8s.io/
kubernetes/pkg/auth
/user"
"k8s.io/
apiserver/pkg/authentication
/user"
"k8s.io/kubernetes/pkg/types"
)
...
...
pkg/genericapiserver/api/request/context_test.go
View file @
ca58ec02
...
...
@@ -19,8 +19,8 @@ package request_test
import
(
"testing"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/auth/user"
genericapirequest
"k8s.io/kubernetes/pkg/genericapiserver/api/request"
"k8s.io/kubernetes/pkg/types"
)
...
...
pkg/genericapiserver/authenticator/BUILD
View file @
ca58ec02
...
...
@@ -19,7 +19,6 @@ go_library(
"//pkg/auth/authenticator:go_default_library",
"//pkg/auth/authenticator/bearertoken:go_default_library",
"//pkg/auth/group:go_default_library",
"//pkg/auth/user:go_default_library",
"//pkg/client/clientset_generated/clientset/typed/authentication/v1beta1:go_default_library",
"//pkg/util/cert:go_default_library",
"//plugin/pkg/auth/authenticator/request/anonymous:go_default_library",
...
...
@@ -29,5 +28,6 @@ go_library(
"//plugin/pkg/auth/authenticator/token/tokenfile:go_default_library",
"//plugin/pkg/auth/authenticator/token/webhook:go_default_library",
"//vendor:github.com/go-openapi/spec",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
pkg/genericapiserver/authenticator/delegating.go
View file @
ca58ec02
...
...
@@ -23,10 +23,10 @@ import (
"github.com/go-openapi/spec"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/auth/authenticator"
"k8s.io/kubernetes/pkg/auth/authenticator/bearertoken"
"k8s.io/kubernetes/pkg/auth/group"
"k8s.io/kubernetes/pkg/auth/user"
authenticationclient
"k8s.io/kubernetes/pkg/client/clientset_generated/clientset/typed/authentication/v1beta1"
"k8s.io/kubernetes/pkg/util/cert"
"k8s.io/kubernetes/plugin/pkg/auth/authenticator/request/anonymous"
...
...
pkg/genericapiserver/authenticator/loopback.go
View file @
ca58ec02
...
...
@@ -17,9 +17,9 @@ limitations under the License.
package
authenticator
import
(
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/auth/authenticator"
"k8s.io/kubernetes/pkg/auth/authenticator/bearertoken"
"k8s.io/kubernetes/pkg/auth/user"
"k8s.io/kubernetes/plugin/pkg/auth/authenticator/token/tokenfile"
)
...
...
pkg/genericapiserver/authorizer/BUILD
View file @
ca58ec02
...
...
@@ -32,6 +32,6 @@ go_test(
tags = ["automanaged"],
deps = [
"//pkg/auth/authorizer:go_default_library",
"//
pkg/auth/user:go_default_library
",
"//
vendor:k8s.io/apiserver/pkg/authentication/user
",
],
)
pkg/genericapiserver/authorizer/authz_test.go
View file @
ca58ec02
...
...
@@ -19,8 +19,8 @@ package authorizer
import
(
"testing"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/auth/authorizer"
"k8s.io/kubernetes/pkg/auth/user"
)
// NewAlwaysAllowAuthorizer must return a struct which implements authorizer.Authorizer
...
...
pkg/genericapiserver/config.go
View file @
ca58ec02
...
...
@@ -36,6 +36,7 @@ import (
"github.com/pborman/uuid"
"gopkg.in/natefinch/lumberjack.v2"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/admission"
"k8s.io/kubernetes/pkg/api"
metav1
"k8s.io/kubernetes/pkg/apis/meta/v1"
...
...
@@ -43,7 +44,6 @@ import (
"k8s.io/kubernetes/pkg/auth/authorizer"
authorizerunion
"k8s.io/kubernetes/pkg/auth/authorizer/union"
authhandlers
"k8s.io/kubernetes/pkg/auth/handlers"
"k8s.io/kubernetes/pkg/auth/user"
"k8s.io/kubernetes/pkg/client/restclient"
genericapifilters
"k8s.io/kubernetes/pkg/genericapiserver/api/filters"
apiopenapi
"k8s.io/kubernetes/pkg/genericapiserver/api/openapi"
...
...
pkg/genericapiserver/genericapiserver_test.go
View file @
ca58ec02
...
...
@@ -27,6 +27,7 @@ import (
"reflect"
"testing"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/api/meta"
"k8s.io/kubernetes/pkg/api/rest"
...
...
@@ -36,7 +37,6 @@ import (
"k8s.io/kubernetes/pkg/apis/extensions"
metav1
"k8s.io/kubernetes/pkg/apis/meta/v1"
"k8s.io/kubernetes/pkg/auth/authorizer"
"k8s.io/kubernetes/pkg/auth/user"
openapigen
"k8s.io/kubernetes/pkg/generated/openapi"
genericapirequest
"k8s.io/kubernetes/pkg/genericapiserver/api/request"
"k8s.io/kubernetes/pkg/runtime"
...
...
pkg/kubeapiserver/authenticator/BUILD
View file @
ca58ec02
...
...
@@ -15,7 +15,6 @@ go_library(
"//pkg/auth/authenticator:go_default_library",
"//pkg/auth/authenticator/bearertoken:go_default_library",
"//pkg/auth/group:go_default_library",
"//pkg/auth/user:go_default_library",
"//pkg/genericapiserver/authenticator:go_default_library",
"//pkg/serviceaccount:go_default_library",
"//pkg/util/cert:go_default_library",
...
...
@@ -31,5 +30,6 @@ go_library(
"//plugin/pkg/auth/authenticator/token/tokenfile:go_default_library",
"//plugin/pkg/auth/authenticator/token/webhook:go_default_library",
"//vendor:github.com/go-openapi/spec",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
pkg/kubeapiserver/authenticator/config.go
View file @
ca58ec02
...
...
@@ -21,10 +21,10 @@ import (
"github.com/go-openapi/spec"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/auth/authenticator"
"k8s.io/kubernetes/pkg/auth/authenticator/bearertoken"
"k8s.io/kubernetes/pkg/auth/group"
"k8s.io/kubernetes/pkg/auth/user"
genericauthenticator
"k8s.io/kubernetes/pkg/genericapiserver/authenticator"
"k8s.io/kubernetes/pkg/serviceaccount"
certutil
"k8s.io/kubernetes/pkg/util/cert"
...
...
pkg/kubelet/server/BUILD
View file @
ca58ec02
...
...
@@ -24,7 +24,6 @@ go_library(
"//pkg/apis/meta/v1:go_default_library",
"//pkg/auth/authenticator:go_default_library",
"//pkg/auth/authorizer:go_default_library",
"//pkg/auth/user:go_default_library",
"//pkg/healthz:go_default_library",
"//pkg/httplog:go_default_library",
"//pkg/kubelet/cm:go_default_library",
...
...
@@ -47,6 +46,7 @@ go_library(
"//vendor:github.com/google/cadvisor/info/v1",
"//vendor:github.com/google/cadvisor/info/v2",
"//vendor:github.com/prometheus/client_golang/prometheus",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
...
...
@@ -63,7 +63,6 @@ go_test(
"//pkg/api/errors:go_default_library",
"//pkg/api/v1:go_default_library",
"//pkg/auth/authorizer:go_default_library",
"//pkg/auth/user:go_default_library",
"//pkg/kubelet/cm:go_default_library",
"//pkg/kubelet/container:go_default_library",
"//pkg/kubelet/container/testing:go_default_library",
...
...
@@ -81,5 +80,6 @@ go_test(
"//vendor:github.com/google/cadvisor/info/v2",
"//vendor:github.com/stretchr/testify/assert",
"//vendor:github.com/stretchr/testify/require",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
pkg/kubelet/server/auth.go
View file @
ca58ec02
...
...
@@ -21,9 +21,9 @@ import (
"strings"
"github.com/golang/glog"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/auth/authenticator"
"k8s.io/kubernetes/pkg/auth/authorizer"
"k8s.io/kubernetes/pkg/auth/user"
"k8s.io/kubernetes/pkg/types"
)
...
...
pkg/kubelet/server/server_test.go
View file @
ca58ec02
...
...
@@ -38,11 +38,11 @@ import (
cadvisorapiv2
"github.com/google/cadvisor/info/v2"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/api"
apierrs
"k8s.io/kubernetes/pkg/api/errors"
"k8s.io/kubernetes/pkg/api/v1"
"k8s.io/kubernetes/pkg/auth/authorizer"
"k8s.io/kubernetes/pkg/auth/user"
"k8s.io/kubernetes/pkg/kubelet/cm"
kubecontainer
"k8s.io/kubernetes/pkg/kubelet/container"
kubecontainertesting
"k8s.io/kubernetes/pkg/kubelet/container/testing"
...
...
pkg/registry/authorization/util/BUILD
View file @
ca58ec02
...
...
@@ -14,6 +14,6 @@ go_library(
deps = [
"//pkg/apis/authorization:go_default_library",
"//pkg/auth/authorizer:go_default_library",
"//
pkg/auth/user:go_default_library
",
"//
vendor:k8s.io/apiserver/pkg/authentication/user
",
],
)
pkg/registry/authorization/util/helpers.go
View file @
ca58ec02
...
...
@@ -17,9 +17,9 @@ limitations under the License.
package
util
import
(
"k8s.io/apiserver/pkg/authentication/user"
authorizationapi
"k8s.io/kubernetes/pkg/apis/authorization"
"k8s.io/kubernetes/pkg/auth/authorizer"
"k8s.io/kubernetes/pkg/auth/user"
)
// ResourceAttributesFrom combines the API object information and the user.Info from the context to build a full authorizer.AttributesRecord for resource access
...
...
pkg/registry/certificates/certificates/BUILD
View file @
ca58ec02
...
...
@@ -40,9 +40,9 @@ go_test(
tags = ["automanaged"],
deps = [
"//pkg/apis/certificates:go_default_library",
"//pkg/auth/user:go_default_library",
"//pkg/genericapiserver/api/request:go_default_library",
"//pkg/runtime:go_default_library",
"//pkg/util/diff:go_default_library",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
pkg/registry/certificates/certificates/strategy_test.go
View file @
ca58ec02
...
...
@@ -20,8 +20,8 @@ import (
"reflect"
"testing"
"k8s.io/apiserver/pkg/authentication/user"
certapi
"k8s.io/kubernetes/pkg/apis/certificates"
"k8s.io/kubernetes/pkg/auth/user"
genericapirequest
"k8s.io/kubernetes/pkg/genericapiserver/api/request"
"k8s.io/kubernetes/pkg/runtime"
"k8s.io/kubernetes/pkg/util/diff"
...
...
pkg/registry/rbac/BUILD
View file @
ca58ec02
...
...
@@ -12,7 +12,7 @@ go_library(
srcs = ["escalation_check.go"],
tags = ["automanaged"],
deps = [
"//pkg/auth/user:go_default_library",
"//pkg/genericapiserver/api/request:go_default_library",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
pkg/registry/rbac/escalation_check.go
View file @
ca58ec02
...
...
@@ -17,7 +17,7 @@ limitations under the License.
package
rbac
import
(
"k8s.io/
kubernetes/pkg/auth
/user"
"k8s.io/
apiserver/pkg/authentication
/user"
genericapirequest
"k8s.io/kubernetes/pkg/genericapiserver/api/request"
)
...
...
pkg/serviceaccount/BUILD
View file @
ca58ec02
...
...
@@ -20,9 +20,9 @@ go_library(
"//pkg/api/v1:go_default_library",
"//pkg/api/validation:go_default_library",
"//pkg/auth/authenticator:go_default_library",
"//pkg/auth/user:go_default_library",
"//vendor:github.com/dgrijalva/jwt-go",
"//vendor:github.com/golang/glog",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
...
...
pkg/serviceaccount/jwt.go
View file @
ca58ec02
...
...
@@ -26,9 +26,9 @@ import (
"fmt"
"io/ioutil"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/api/v1"
"k8s.io/kubernetes/pkg/auth/authenticator"
"k8s.io/kubernetes/pkg/auth/user"
jwt
"github.com/dgrijalva/jwt-go"
"github.com/golang/glog"
...
...
pkg/serviceaccount/util.go
View file @
ca58ec02
...
...
@@ -20,10 +20,10 @@ import (
"fmt"
"strings"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/api/v1"
"k8s.io/kubernetes/pkg/api/validation"
"k8s.io/kubernetes/pkg/auth/user"
)
const
(
...
...
plugin/pkg/admission/gc/BUILD
View file @
ca58ec02
...
...
@@ -31,8 +31,8 @@ go_test(
"//pkg/api:go_default_library",
"//pkg/apis/meta/v1:go_default_library",
"//pkg/auth/authorizer:go_default_library",
"//pkg/auth/user:go_default_library",
"//pkg/runtime:go_default_library",
"//pkg/runtime/schema:go_default_library",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
plugin/pkg/admission/gc/gc_admission_test.go
View file @
ca58ec02
...
...
@@ -19,11 +19,11 @@ package gc
import
(
"testing"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/admission"
"k8s.io/kubernetes/pkg/api"
metav1
"k8s.io/kubernetes/pkg/apis/meta/v1"
"k8s.io/kubernetes/pkg/auth/authorizer"
"k8s.io/kubernetes/pkg/auth/user"
"k8s.io/kubernetes/pkg/runtime"
"k8s.io/kubernetes/pkg/runtime/schema"
)
...
...
plugin/pkg/admission/imagepolicy/BUILD
View file @
ca58ec02
...
...
@@ -44,7 +44,7 @@ go_test(
"//pkg/api:go_default_library",
"//pkg/apis/imagepolicy/install:go_default_library",
"//pkg/apis/imagepolicy/v1alpha1:go_default_library",
"//pkg/auth/user:go_default_library",
"//pkg/client/unversioned/clientcmd/api/v1:go_default_library",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
plugin/pkg/admission/imagepolicy/admission_test.go
View file @
ca58ec02
...
...
@@ -28,10 +28,10 @@ import (
"testing"
"time"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/admission"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/apis/imagepolicy/v1alpha1"
"k8s.io/kubernetes/pkg/auth/user"
"k8s.io/kubernetes/pkg/client/unversioned/clientcmd/api/v1"
"fmt"
...
...
plugin/pkg/admission/security/podsecuritypolicy/BUILD
View file @
ca58ec02
...
...
@@ -19,7 +19,6 @@ go_library(
"//pkg/api/v1:go_default_library",
"//pkg/apis/extensions:go_default_library",
"//pkg/auth/authorizer:go_default_library",
"//pkg/auth/user:go_default_library",
"//pkg/client/cache:go_default_library",
"//pkg/client/clientset_generated/internalclientset:go_default_library",
"//pkg/kubeapiserver/admission:go_default_library",
...
...
@@ -32,6 +31,7 @@ go_library(
"//pkg/util/validation/field:go_default_library",
"//pkg/watch:go_default_library",
"//vendor:github.com/golang/glog",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
...
...
@@ -45,7 +45,6 @@ go_test(
"//pkg/api:go_default_library",
"//pkg/apis/extensions:go_default_library",
"//pkg/auth/authorizer:go_default_library",
"//pkg/auth/user:go_default_library",
"//pkg/client/cache:go_default_library",
"//pkg/security/apparmor:go_default_library",
"//pkg/security/podsecuritypolicy:go_default_library",
...
...
@@ -54,5 +53,6 @@ go_test(
"//pkg/util/diff:go_default_library",
"//pkg/util/sets:go_default_library",
"//vendor:github.com/stretchr/testify/assert",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
plugin/pkg/admission/security/podsecuritypolicy/admission.go
View file @
ca58ec02
...
...
@@ -23,13 +23,13 @@ import (
"github.com/golang/glog"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/admission"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/api/errors"
"k8s.io/kubernetes/pkg/api/v1"
"k8s.io/kubernetes/pkg/apis/extensions"
"k8s.io/kubernetes/pkg/auth/authorizer"
"k8s.io/kubernetes/pkg/auth/user"
"k8s.io/kubernetes/pkg/client/cache"
"k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset"
kubeapiserveradmission
"k8s.io/kubernetes/pkg/kubeapiserver/admission"
...
...
plugin/pkg/admission/security/podsecuritypolicy/admission_test.go
View file @
ca58ec02
...
...
@@ -24,11 +24,11 @@ import (
"github.com/stretchr/testify/assert"
"k8s.io/apiserver/pkg/authentication/user"
kadmission
"k8s.io/kubernetes/pkg/admission"
kapi
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/apis/extensions"
"k8s.io/kubernetes/pkg/auth/authorizer"
"k8s.io/kubernetes/pkg/auth/user"
"k8s.io/kubernetes/pkg/client/cache"
"k8s.io/kubernetes/pkg/security/apparmor"
kpsp
"k8s.io/kubernetes/pkg/security/podsecuritypolicy"
...
...
plugin/pkg/auth/authenticator/password/allow/BUILD
View file @
ca58ec02
...
...
@@ -14,7 +14,7 @@ go_library(
tags = ["automanaged"],
deps = [
"//pkg/auth/authenticator:go_default_library",
"//
pkg/auth/user:go_default_library
",
"//
vendor:k8s.io/apiserver/pkg/authentication/user
",
],
)
...
...
plugin/pkg/auth/authenticator/password/allow/allow.go
View file @
ca58ec02
...
...
@@ -17,8 +17,8 @@ limitations under the License.
package
allow
import
(
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/auth/authenticator"
"k8s.io/kubernetes/pkg/auth/user"
)
type
allowAuthenticator
struct
{}
...
...
plugin/pkg/auth/authenticator/password/keystone/BUILD
View file @
ca58ec02
...
...
@@ -15,11 +15,11 @@ go_library(
],
tags = ["automanaged"],
deps = [
"//pkg/auth/user:go_default_library",
"//pkg/util/cert:go_default_library",
"//pkg/util/net:go_default_library",
"//vendor:github.com/golang/glog",
"//vendor:github.com/rackspace/gophercloud",
"//vendor:github.com/rackspace/gophercloud/openstack",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
plugin/pkg/auth/authenticator/password/keystone/keystone.go
View file @
ca58ec02
...
...
@@ -25,7 +25,7 @@ import (
"github.com/golang/glog"
"github.com/rackspace/gophercloud"
"github.com/rackspace/gophercloud/openstack"
"k8s.io/
kubernetes/pkg/auth
/user"
"k8s.io/
apiserver/pkg/authentication
/user"
certutil
"k8s.io/kubernetes/pkg/util/cert"
netutil
"k8s.io/kubernetes/pkg/util/net"
)
...
...
plugin/pkg/auth/authenticator/password/passwordfile/BUILD
View file @
ca58ec02
...
...
@@ -13,8 +13,8 @@ go_library(
srcs = ["passwordfile.go"],
tags = ["automanaged"],
deps = [
"//pkg/auth/user:go_default_library",
"//vendor:github.com/golang/glog",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
...
...
@@ -23,5 +23,5 @@ go_test(
srcs = ["passwordfile_test.go"],
library = ":go_default_library",
tags = ["automanaged"],
deps = ["//
pkg/auth/user:go_default_library
"],
deps = ["//
vendor:k8s.io/apiserver/pkg/authentication/user
"],
)
plugin/pkg/auth/authenticator/password/passwordfile/passwordfile.go
View file @
ca58ec02
...
...
@@ -23,7 +23,7 @@ import (
"os"
"github.com/golang/glog"
"k8s.io/
kubernetes/pkg/auth
/user"
"k8s.io/
apiserver/pkg/authentication
/user"
)
type
PasswordAuthenticator
struct
{
...
...
plugin/pkg/auth/authenticator/password/passwordfile/passwordfile_test.go
View file @
ca58ec02
...
...
@@ -22,7 +22,7 @@ import (
"reflect"
"testing"
"k8s.io/
kubernetes/pkg/auth
/user"
"k8s.io/
apiserver/pkg/authentication
/user"
)
func
TestPasswordFile
(
t
*
testing
.
T
)
{
...
...
plugin/pkg/auth/authenticator/request/anonymous/BUILD
View file @
ca58ec02
...
...
@@ -14,7 +14,7 @@ go_library(
tags = ["automanaged"],
deps = [
"//pkg/auth/authenticator:go_default_library",
"//
pkg/auth/user:go_default_library
",
"//
vendor:k8s.io/apiserver/pkg/authentication/user
",
],
)
...
...
@@ -25,7 +25,7 @@ go_test(
tags = ["automanaged"],
deps = [
"//pkg/auth/authenticator:go_default_library",
"//pkg/auth/user:go_default_library",
"//pkg/util/sets:go_default_library",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
plugin/pkg/auth/authenticator/request/anonymous/anonymous.go
View file @
ca58ec02
...
...
@@ -19,8 +19,8 @@ package anonymous
import
(
"net/http"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/auth/authenticator"
"k8s.io/kubernetes/pkg/auth/user"
)
const
(
...
...
plugin/pkg/auth/authenticator/request/anonymous/anonymous_test.go
View file @
ca58ec02
...
...
@@ -19,8 +19,8 @@ package anonymous
import
(
"testing"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/auth/authenticator"
"k8s.io/kubernetes/pkg/auth/user"
"k8s.io/kubernetes/pkg/util/sets"
)
...
...
plugin/pkg/auth/authenticator/request/basicauth/BUILD
View file @
ca58ec02
...
...
@@ -14,7 +14,7 @@ go_library(
tags = ["automanaged"],
deps = [
"//pkg/auth/authenticator:go_default_library",
"//
pkg/auth/user:go_default_library
",
"//
vendor:k8s.io/apiserver/pkg/authentication/user
",
],
)
...
...
@@ -25,6 +25,6 @@ go_test(
tags = ["automanaged"],
deps = [
"//pkg/auth/authenticator:go_default_library",
"//
pkg/auth/user:go_default_library
",
"//
vendor:k8s.io/apiserver/pkg/authentication/user
",
],
)
plugin/pkg/auth/authenticator/request/basicauth/basicauth.go
View file @
ca58ec02
...
...
@@ -19,8 +19,8 @@ package basicauth
import
(
"net/http"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/auth/authenticator"
"k8s.io/kubernetes/pkg/auth/user"
)
// Authenticator authenticates requests using basic auth
...
...
plugin/pkg/auth/authenticator/request/basicauth/basicauth_test.go
View file @
ca58ec02
...
...
@@ -21,8 +21,8 @@ import (
"net/http"
"testing"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/auth/authenticator"
"k8s.io/kubernetes/pkg/auth/user"
)
type
testPassword
struct
{
...
...
plugin/pkg/auth/authenticator/request/headerrequest/BUILD
View file @
ca58ec02
...
...
@@ -14,10 +14,10 @@ go_library(
tags = ["automanaged"],
deps = [
"//pkg/auth/authenticator:go_default_library",
"//pkg/auth/user:go_default_library",
"//pkg/util/cert:go_default_library",
"//pkg/util/sets:go_default_library",
"//plugin/pkg/auth/authenticator/request/x509:go_default_library",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
...
...
@@ -26,5 +26,5 @@ go_test(
srcs = ["requestheader_test.go"],
library = ":go_default_library",
tags = ["automanaged"],
deps = ["//
pkg/auth/user:go_default_library
"],
deps = ["//
vendor:k8s.io/apiserver/pkg/authentication/user
"],
)
plugin/pkg/auth/authenticator/request/headerrequest/requestheader.go
View file @
ca58ec02
...
...
@@ -23,8 +23,8 @@ import (
"net/http"
"strings"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/auth/authenticator"
"k8s.io/kubernetes/pkg/auth/user"
utilcert
"k8s.io/kubernetes/pkg/util/cert"
"k8s.io/kubernetes/pkg/util/sets"
x509request
"k8s.io/kubernetes/plugin/pkg/auth/authenticator/request/x509"
...
...
plugin/pkg/auth/authenticator/request/headerrequest/requestheader_test.go
View file @
ca58ec02
...
...
@@ -21,7 +21,7 @@ import (
"reflect"
"testing"
"k8s.io/
kubernetes/pkg/auth
/user"
"k8s.io/
apiserver/pkg/authentication
/user"
)
func
TestRequestHeader
(
t
*
testing
.
T
)
{
...
...
plugin/pkg/auth/authenticator/request/union/BUILD
View file @
ca58ec02
...
...
@@ -14,8 +14,8 @@ go_library(
tags = ["automanaged"],
deps = [
"//pkg/auth/authenticator:go_default_library",
"//pkg/auth/user:go_default_library",
"//pkg/util/errors:go_default_library",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
...
...
@@ -24,5 +24,5 @@ go_test(
srcs = ["unionauth_test.go"],
library = ":go_default_library",
tags = ["automanaged"],
deps = ["//
pkg/auth/user:go_default_library
"],
deps = ["//
vendor:k8s.io/apiserver/pkg/authentication/user
"],
)
plugin/pkg/auth/authenticator/request/union/union.go
View file @
ca58ec02
...
...
@@ -19,8 +19,8 @@ package union
import
(
"net/http"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/auth/authenticator"
"k8s.io/kubernetes/pkg/auth/user"
utilerrors
"k8s.io/kubernetes/pkg/util/errors"
)
...
...
plugin/pkg/auth/authenticator/request/union/unionauth_test.go
View file @
ca58ec02
...
...
@@ -23,7 +23,7 @@ import (
"strings"
"testing"
"k8s.io/
kubernetes/pkg/auth
/user"
"k8s.io/
apiserver/pkg/authentication
/user"
)
type
mockAuthRequestHandler
struct
{
...
...
plugin/pkg/auth/authenticator/request/x509/BUILD
View file @
ca58ec02
...
...
@@ -17,10 +17,10 @@ go_library(
tags = ["automanaged"],
deps = [
"//pkg/auth/authenticator:go_default_library",
"//pkg/auth/user:go_default_library",
"//pkg/util/errors:go_default_library",
"//pkg/util/sets:go_default_library",
"//vendor:github.com/golang/glog",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
...
...
@@ -32,7 +32,7 @@ go_test(
tags = ["automanaged"],
deps = [
"//pkg/auth/authenticator:go_default_library",
"//pkg/auth/user:go_default_library",
"//pkg/util/sets:go_default_library",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
plugin/pkg/auth/authenticator/request/x509/x509.go
View file @
ca58ec02
...
...
@@ -25,8 +25,8 @@ import (
"github.com/golang/glog"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/auth/authenticator"
"k8s.io/kubernetes/pkg/auth/user"
utilerrors
"k8s.io/kubernetes/pkg/util/errors"
"k8s.io/kubernetes/pkg/util/sets"
)
...
...
plugin/pkg/auth/authenticator/request/x509/x509_test.go
View file @
ca58ec02
...
...
@@ -28,8 +28,8 @@ import (
"testing"
"time"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/auth/authenticator"
"k8s.io/kubernetes/pkg/auth/user"
"k8s.io/kubernetes/pkg/util/sets"
)
...
...
plugin/pkg/auth/authenticator/token/anytoken/BUILD
View file @
ca58ec02
...
...
@@ -12,7 +12,7 @@ go_library(
name = "go_default_library",
srcs = ["anytoken.go"],
tags = ["automanaged"],
deps = ["//
pkg/auth/user:go_default_library
"],
deps = ["//
vendor:k8s.io/apiserver/pkg/authentication/user
"],
)
go_test(
...
...
@@ -20,5 +20,5 @@ go_test(
srcs = ["anytoken_test.go"],
library = ":go_default_library",
tags = ["automanaged"],
deps = ["//
pkg/auth/user:go_default_library
"],
deps = ["//
vendor:k8s.io/apiserver/pkg/authentication/user
"],
)
plugin/pkg/auth/authenticator/token/anytoken/anytoken.go
View file @
ca58ec02
...
...
@@ -19,7 +19,7 @@ package anytoken
import
(
"strings"
"k8s.io/
kubernetes/pkg/auth
/user"
"k8s.io/
apiserver/pkg/authentication
/user"
)
type
AnyTokenAuthenticator
struct
{}
...
...
plugin/pkg/auth/authenticator/token/anytoken/anytoken_test.go
View file @
ca58ec02
...
...
@@ -20,7 +20,7 @@ import (
"reflect"
"testing"
"k8s.io/
kubernetes/pkg/auth
/user"
"k8s.io/
apiserver/pkg/authentication
/user"
)
func
TestAnyTokenAuthenticator
(
t
*
testing
.
T
)
{
...
...
plugin/pkg/auth/authenticator/token/oidc/BUILD
View file @
ca58ec02
...
...
@@ -13,13 +13,13 @@ go_library(
srcs = ["oidc.go"],
tags = ["automanaged"],
deps = [
"//pkg/auth/user:go_default_library",
"//pkg/util/cert:go_default_library",
"//pkg/util/net:go_default_library",
"//pkg/util/runtime:go_default_library",
"//vendor:github.com/coreos/go-oidc/jose",
"//vendor:github.com/coreos/go-oidc/oidc",
"//vendor:github.com/golang/glog",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
...
...
@@ -29,9 +29,9 @@ go_test(
library = ":go_default_library",
tags = ["automanaged"],
deps = [
"//pkg/auth/user:go_default_library",
"//plugin/pkg/auth/authenticator/token/oidc/testing:go_default_library",
"//vendor:github.com/coreos/go-oidc/jose",
"//vendor:github.com/coreos/go-oidc/oidc",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
plugin/pkg/auth/authenticator/token/oidc/oidc.go
View file @
ca58ec02
...
...
@@ -39,7 +39,7 @@ import (
"github.com/coreos/go-oidc/jose"
"github.com/coreos/go-oidc/oidc"
"github.com/golang/glog"
"k8s.io/
kubernetes/pkg/auth
/user"
"k8s.io/
apiserver/pkg/authentication
/user"
certutil
"k8s.io/kubernetes/pkg/util/cert"
"k8s.io/kubernetes/pkg/util/net"
"k8s.io/kubernetes/pkg/util/runtime"
...
...
plugin/pkg/auth/authenticator/token/oidc/oidc_test.go
View file @
ca58ec02
...
...
@@ -29,7 +29,7 @@ import (
"github.com/coreos/go-oidc/jose"
"github.com/coreos/go-oidc/oidc"
"k8s.io/
kubernetes/pkg/auth
/user"
"k8s.io/
apiserver/pkg/authentication
/user"
oidctesting
"k8s.io/kubernetes/plugin/pkg/auth/authenticator/token/oidc/testing"
)
...
...
plugin/pkg/auth/authenticator/token/tokenfile/BUILD
View file @
ca58ec02
...
...
@@ -13,8 +13,8 @@ go_library(
srcs = ["tokenfile.go"],
tags = ["automanaged"],
deps = [
"//pkg/auth/user:go_default_library",
"//vendor:github.com/golang/glog",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
...
...
@@ -23,5 +23,5 @@ go_test(
srcs = ["tokenfile_test.go"],
library = ":go_default_library",
tags = ["automanaged"],
deps = ["//
pkg/auth/user:go_default_library
"],
deps = ["//
vendor:k8s.io/apiserver/pkg/authentication/user
"],
)
plugin/pkg/auth/authenticator/token/tokenfile/tokenfile.go
View file @
ca58ec02
...
...
@@ -24,7 +24,7 @@ import (
"strings"
"github.com/golang/glog"
"k8s.io/
kubernetes/pkg/auth
/user"
"k8s.io/
apiserver/pkg/authentication
/user"
)
type
TokenAuthenticator
struct
{
...
...
plugin/pkg/auth/authenticator/token/tokenfile/tokenfile_test.go
View file @
ca58ec02
...
...
@@ -22,7 +22,7 @@ import (
"reflect"
"testing"
"k8s.io/
kubernetes/pkg/auth
/user"
"k8s.io/
apiserver/pkg/authentication
/user"
)
func
TestTokenFile
(
t
*
testing
.
T
)
{
...
...
plugin/pkg/auth/authenticator/token/tokentest/BUILD
View file @
ca58ec02
...
...
@@ -11,5 +11,5 @@ go_library(
name = "go_default_library",
srcs = ["tokentest.go"],
tags = ["automanaged"],
deps = ["//
pkg/auth/user:go_default_library
"],
deps = ["//
vendor:k8s.io/apiserver/pkg/authentication/user
"],
)
plugin/pkg/auth/authenticator/token/tokentest/tokentest.go
View file @
ca58ec02
...
...
@@ -16,7 +16,7 @@ limitations under the License.
package
tokentest
import
"k8s.io/
kubernetes/pkg/auth
/user"
import
"k8s.io/
apiserver/pkg/authentication
/user"
type
TokenAuthenticator
struct
{
Tokens
map
[
string
]
*
user
.
DefaultInfo
...
...
plugin/pkg/auth/authenticator/token/webhook/BUILD
View file @
ca58ec02
...
...
@@ -16,11 +16,11 @@ go_library(
"//pkg/apis/authentication/install:go_default_library",
"//pkg/apis/authentication/v1beta1:go_default_library",
"//pkg/auth/authenticator:go_default_library",
"//pkg/auth/user:go_default_library",
"//pkg/client/clientset_generated/clientset/typed/authentication/v1beta1:go_default_library",
"//pkg/runtime/schema:go_default_library",
"//pkg/util/cache:go_default_library",
"//plugin/pkg/webhook:go_default_library",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
...
...
@@ -35,7 +35,7 @@ go_test(
deps = [
"//pkg/apis/authentication/v1beta1:go_default_library",
"//pkg/apis/meta/v1:go_default_library",
"//pkg/auth/user:go_default_library",
"//pkg/client/unversioned/clientcmd/api/v1:go_default_library",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
plugin/pkg/auth/authenticator/token/webhook/webhook.go
View file @
ca58ec02
...
...
@@ -20,10 +20,10 @@ package webhook
import
(
"time"
"k8s.io/apiserver/pkg/authentication/user"
_
"k8s.io/kubernetes/pkg/apis/authentication/install"
authentication
"k8s.io/kubernetes/pkg/apis/authentication/v1beta1"
"k8s.io/kubernetes/pkg/auth/authenticator"
"k8s.io/kubernetes/pkg/auth/user"
authenticationclient
"k8s.io/kubernetes/pkg/client/clientset_generated/clientset/typed/authentication/v1beta1"
"k8s.io/kubernetes/pkg/runtime/schema"
"k8s.io/kubernetes/pkg/util/cache"
...
...
plugin/pkg/auth/authenticator/token/webhook/webhook_test.go
View file @
ca58ec02
...
...
@@ -30,9 +30,9 @@ import (
"testing"
"time"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/apis/authentication/v1beta1"
metav1
"k8s.io/kubernetes/pkg/apis/meta/v1"
"k8s.io/kubernetes/pkg/auth/user"
"k8s.io/kubernetes/pkg/client/unversioned/clientcmd/api/v1"
)
...
...
plugin/pkg/auth/authorizer/rbac/BUILD
View file @
ca58ec02
...
...
@@ -19,9 +19,9 @@ go_library(
"//pkg/apis/rbac:go_default_library",
"//pkg/apis/rbac/validation:go_default_library",
"//pkg/auth/authorizer:go_default_library",
"//pkg/auth/user:go_default_library",
"//pkg/util/errors:go_default_library",
"//vendor:github.com/golang/glog",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
...
...
@@ -38,6 +38,6 @@ go_test(
"//pkg/apis/rbac:go_default_library",
"//pkg/apis/rbac/validation:go_default_library",
"//pkg/auth/authorizer:go_default_library",
"//
pkg/auth/user:go_default_library
",
"//
vendor:k8s.io/apiserver/pkg/authentication/user
",
],
)
plugin/pkg/auth/authorizer/rbac/bootstrappolicy/BUILD
View file @
ca58ec02
...
...
@@ -18,8 +18,8 @@ go_library(
deps = [
"//pkg/api:go_default_library",
"//pkg/apis/rbac:go_default_library",
"//pkg/auth/user:go_default_library",
"//vendor:github.com/golang/glog",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
...
...
plugin/pkg/auth/authorizer/rbac/bootstrappolicy/policy.go
View file @
ca58ec02
...
...
@@ -17,9 +17,9 @@ limitations under the License.
package
bootstrappolicy
import
(
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/api"
rbac
"k8s.io/kubernetes/pkg/apis/rbac"
"k8s.io/kubernetes/pkg/auth/user"
)
var
(
...
...
plugin/pkg/auth/authorizer/rbac/rbac.go
View file @
ca58ec02
...
...
@@ -21,10 +21,10 @@ import (
"fmt"
"github.com/golang/glog"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/apis/rbac"
"k8s.io/kubernetes/pkg/apis/rbac/validation"
"k8s.io/kubernetes/pkg/auth/authorizer"
"k8s.io/kubernetes/pkg/auth/user"
)
type
RequestToRuleMapper
interface
{
...
...
plugin/pkg/auth/authorizer/rbac/rbac_test.go
View file @
ca58ec02
...
...
@@ -21,11 +21,11 @@ import (
"strings"
"testing"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/apis/rbac"
"k8s.io/kubernetes/pkg/apis/rbac/validation"
"k8s.io/kubernetes/pkg/auth/authorizer"
"k8s.io/kubernetes/pkg/auth/user"
)
func
newRule
(
verbs
,
apiGroups
,
resources
,
nonResourceURLs
string
)
rbac
.
PolicyRule
{
...
...
plugin/pkg/auth/authorizer/rbac/subject_locator.go
View file @
ca58ec02
...
...
@@ -18,10 +18,10 @@ limitations under the License.
package
rbac
import
(
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/apis/rbac"
"k8s.io/kubernetes/pkg/apis/rbac/validation"
"k8s.io/kubernetes/pkg/auth/authorizer"
"k8s.io/kubernetes/pkg/auth/user"
utilerrors
"k8s.io/kubernetes/pkg/util/errors"
)
...
...
plugin/pkg/auth/authorizer/rbac/subject_locator_test.go
View file @
ca58ec02
...
...
@@ -20,10 +20,10 @@ import (
"reflect"
"testing"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/apis/rbac"
"k8s.io/kubernetes/pkg/apis/rbac/validation"
"k8s.io/kubernetes/pkg/auth/authorizer"
"k8s.io/kubernetes/pkg/auth/user"
)
func
TestSubjectLocator
(
t
*
testing
.
T
)
{
...
...
plugin/pkg/auth/authorizer/webhook/BUILD
View file @
ca58ec02
...
...
@@ -36,8 +36,8 @@ go_test(
"//pkg/apis/authorization/v1beta1:go_default_library",
"//pkg/apis/meta/v1:go_default_library",
"//pkg/auth/authorizer:go_default_library",
"//pkg/auth/user:go_default_library",
"//pkg/client/unversioned/clientcmd/api/v1:go_default_library",
"//pkg/util/diff:go_default_library",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
plugin/pkg/auth/authorizer/webhook/webhook_test.go
View file @
ca58ec02
...
...
@@ -32,10 +32,10 @@ import (
"text/template"
"time"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/apis/authorization/v1beta1"
metav1
"k8s.io/kubernetes/pkg/apis/meta/v1"
"k8s.io/kubernetes/pkg/auth/authorizer"
"k8s.io/kubernetes/pkg/auth/user"
"k8s.io/kubernetes/pkg/client/unversioned/clientcmd/api/v1"
"k8s.io/kubernetes/pkg/util/diff"
)
...
...
test/integration/auth/accessreview_test.go
View file @
ca58ec02
...
...
@@ -24,12 +24,12 @@ import (
"strings"
"testing"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/apimachinery/registered"
authorizationapi
"k8s.io/kubernetes/pkg/apis/authorization"
"k8s.io/kubernetes/pkg/auth/authenticator"
"k8s.io/kubernetes/pkg/auth/authorizer"
"k8s.io/kubernetes/pkg/auth/user"
clientset
"k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset"
"k8s.io/kubernetes/pkg/client/restclient"
"k8s.io/kubernetes/plugin/pkg/admission/admit"
...
...
test/integration/auth/auth_test.go
View file @
ca58ec02
...
...
@@ -36,6 +36,7 @@ import (
"testing"
"time"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/api/testapi"
"k8s.io/kubernetes/pkg/apimachinery/registered"
...
...
@@ -47,7 +48,6 @@ import (
"k8s.io/kubernetes/pkg/auth/authorizer"
"k8s.io/kubernetes/pkg/auth/authorizer/abac"
"k8s.io/kubernetes/pkg/auth/group"
"k8s.io/kubernetes/pkg/auth/user"
"k8s.io/kubernetes/pkg/client/unversioned/clientcmd/api/v1"
apiserverauthorizer
"k8s.io/kubernetes/pkg/genericapiserver/authorizer"
"k8s.io/kubernetes/pkg/serviceaccount"
...
...
test/integration/framework/BUILD
View file @
ca58ec02
...
...
@@ -33,7 +33,6 @@ go_library(
"//pkg/auth/authenticator:go_default_library",
"//pkg/auth/authorizer:go_default_library",
"//pkg/auth/authorizer/union:go_default_library",
"//pkg/auth/user:go_default_library",
"//pkg/client/clientset_generated/clientset:go_default_library",
"//pkg/client/clientset_generated/clientset/typed/core/v1:go_default_library",
"//pkg/client/clientset_generated/internalclientset:go_default_library",
...
...
@@ -63,5 +62,6 @@ go_library(
"//vendor:github.com/go-openapi/spec",
"//vendor:github.com/golang/glog",
"//vendor:github.com/pborman/uuid",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
],
)
test/integration/framework/master_utils.go
View file @
ca58ec02
...
...
@@ -27,6 +27,7 @@ import (
"time"
"github.com/golang/glog"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/api/testapi"
"k8s.io/kubernetes/pkg/api/v1"
...
...
@@ -43,7 +44,6 @@ import (
authauthenticator
"k8s.io/kubernetes/pkg/auth/authenticator"
authauthorizer
"k8s.io/kubernetes/pkg/auth/authorizer"
authorizerunion
"k8s.io/kubernetes/pkg/auth/authorizer/union"
"k8s.io/kubernetes/pkg/auth/user"
clientset
"k8s.io/kubernetes/pkg/client/clientset_generated/clientset"
coreclient
"k8s.io/kubernetes/pkg/client/clientset_generated/clientset/typed/core/v1"
"k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset"
...
...
test/integration/serviceaccount/service_account_test.go
View file @
ca58ec02
...
...
@@ -31,6 +31,7 @@ import (
"testing"
"time"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/api/errors"
"k8s.io/kubernetes/pkg/api/v1"
...
...
@@ -39,7 +40,6 @@ import (
"k8s.io/kubernetes/pkg/auth/authenticator"
"k8s.io/kubernetes/pkg/auth/authenticator/bearertoken"
"k8s.io/kubernetes/pkg/auth/authorizer"
"k8s.io/kubernetes/pkg/auth/user"
clientset
"k8s.io/kubernetes/pkg/client/clientset_generated/clientset"
"k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset"
"k8s.io/kubernetes/pkg/client/restclient"
...
...
vendor/BUILD
View file @
ca58ec02
...
...
@@ -12247,3 +12247,12 @@ go_library(
srcs = ["golang.org/x/text/internal/utf8internal/utf8internal.go"],
tags = ["automanaged"],
)
go_library(
name = "k8s.io/apiserver/pkg/authentication/user",
srcs = [
"k8s.io/apiserver/pkg/authentication/user/doc.go",
"k8s.io/apiserver/pkg/authentication/user/user.go",
],
tags = ["automanaged"],
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment