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
442d2c14
Commit
442d2c14
authored
Jan 04, 2017
by
deads2k
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move pkg/auth/user to staging
parent
38d57e5a
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
41 additions
and
8 deletions
+41
-8
godep-save.sh
hack/godep-save.sh
+3
-0
test.sh
hack/make-rules/test.sh
+1
-0
BUILD
pkg/auth/user/BUILD
+1
-4
doc.go
pkg/auth/user/doc.go
+5
-4
.import-restrictions
staging/src/k8s.io/apiserver/.import-restrictions
+10
-0
doc.go
staging/src/k8s.io/apiserver/pkg/authentication/user/doc.go
+19
-0
user.go
staging/src/k8s.io/apiserver/pkg/authentication/user/user.go
+0
-0
apiserver
vendor/k8s.io/apiserver
+2
-0
No files found.
hack/godep-save.sh
View file @
442d2c14
...
@@ -41,6 +41,9 @@ pushd "${KUBE_ROOT}" > /dev/null
...
@@ -41,6 +41,9 @@ pushd "${KUBE_ROOT}" > /dev/null
if
[
!
-e
"vendor/k8s.io/client-go"
]
;
then
if
[
!
-e
"vendor/k8s.io/client-go"
]
;
then
ln
-s
../../staging/src/k8s.io/client-go vendor/k8s.io/client-go
ln
-s
../../staging/src/k8s.io/client-go vendor/k8s.io/client-go
fi
fi
if
[
!
-e
"vendor/k8s.io/apiserver"
]
;
then
ln
-s
../../staging/src/k8s.io/apiserver vendor/k8s.io/apiserver
fi
popd
>
/dev/null
popd
>
/dev/null
echo
"Don't forget to run hack/update-godep-licenses.sh if you added or removed a dependency!"
echo
"Don't forget to run hack/update-godep-licenses.sh if you added or removed a dependency!"
hack/make-rules/test.sh
View file @
442d2c14
...
@@ -53,6 +53,7 @@ kube::test::find_dirs() {
...
@@ -53,6 +53,7 @@ kube::test::find_dirs() {
find
-L
.
\
find
-L
.
\
-path
'./_output'
-prune
\
-path
'./_output'
-prune
\
-o
-path
'./vendor/k8s.io/client-go/*'
\
-o
-path
'./vendor/k8s.io/client-go/*'
\
-o
-path
'./vendor/k8s.io/apiserver/*'
\
-o
-path
'./test/e2e_node/system/*'
\
-o
-path
'./test/e2e_node/system/*'
\
-name
'*_test.go'
-print0
| xargs
-0n1
dirname
|
sed
's|^\./||'
|
LC_ALL
=
C
sort
-u
-name
'*_test.go'
-print0
| xargs
-0n1
dirname
|
sed
's|^\./||'
|
LC_ALL
=
C
sort
-u
)
)
...
...
pkg/auth/user/BUILD
View file @
442d2c14
...
@@ -9,9 +9,6 @@ load(
...
@@ -9,9 +9,6 @@ load(
go_library(
go_library(
name = "go_default_library",
name = "go_default_library",
srcs = [
srcs = ["doc.go"],
"doc.go",
"user.go",
],
tags = ["automanaged"],
tags = ["automanaged"],
)
)
pkg/auth/user/doc.go
View file @
442d2c14
/*
/*
Copyright 201
4
The Kubernetes Authors.
Copyright 201
6
The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
...
@@ -14,6 +14,7 @@ See the License for the specific language governing permissions and
...
@@ -14,6 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
*/
*/
// Package user contains utilities for dealing with simple user exchange in the auth
// TODO genericapiserver remove this empty package. Godep fails without this because heapster relies
// packages. The user.Info interface defines an interface for exchanging that info.
// on this package. This will allow us to start splitting packages, but will force
package
user
// import "k8s.io/kubernetes/pkg/auth/user"
// heapster to update on their next kube rebase.
package
user
staging/src/k8s.io/apiserver/.import-restrictions
0 → 100644
View file @
442d2c14
{
"Rules": [
{
"SelectorRegexp": "k8s[.]io/kubernetes",
"ForbiddenPrefixes": [
""
]
}
]
}
staging/src/k8s.io/apiserver/pkg/authentication/user/doc.go
0 → 100644
View file @
442d2c14
/*
Copyright 2014 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// Package user contains utilities for dealing with simple user exchange in the auth
// packages. The user.Info interface defines an interface for exchanging that info.
package
user
pkg/auth
/user/user.go
→
staging/src/k8s.io/apiserver/pkg/authentication
/user/user.go
View file @
442d2c14
File moved
vendor/k8s.io/apiserver
0 → 120000
View file @
442d2c14
../../staging/src/k8s.io/apiserver
\ No newline at end of file
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