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
b7fb418a
Commit
b7fb418a
authored
Jul 06, 2017
by
Dr. Stefan Schimanski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
staging/copy.sh: don't strip tags anymore with k8s.io/api
parent
78ce38b9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
7 deletions
+2
-7
BUILD
pkg/generated/openapi/BUILD
+1
-0
copy.sh
staging/copy.sh
+0
-7
doc.go
staging/src/k8s.io/client-go/pkg/version/doc.go
+1
-0
No files found.
pkg/generated/openapi/BUILD
View file @
b7fb418a
...
@@ -48,6 +48,7 @@ openapi_library(
...
@@ -48,6 +48,7 @@ openapi_library(
"k8s.io/apimachinery/pkg/version",
"k8s.io/apimachinery/pkg/version",
"k8s.io/apiserver/pkg/apis/audit/v1alpha1",
"k8s.io/apiserver/pkg/apis/audit/v1alpha1",
"k8s.io/apiserver/pkg/apis/example/v1",
"k8s.io/apiserver/pkg/apis/example/v1",
"k8s.io/client-go/pkg/version",
"k8s.io/kube-aggregator/pkg/apis/apiregistration/v1beta1",
"k8s.io/kube-aggregator/pkg/apis/apiregistration/v1beta1",
"k8s.io/metrics/pkg/apis/custom_metrics/v1alpha1",
"k8s.io/metrics/pkg/apis/custom_metrics/v1alpha1",
"k8s.io/metrics/pkg/apis/metrics/v1alpha1",
"k8s.io/metrics/pkg/apis/metrics/v1alpha1",
...
...
staging/copy.sh
View file @
b7fb418a
...
@@ -128,13 +128,6 @@ grep -Rl "\"${MAIN_REPO_FROM_SRC}" "${CLIENT_REPO_TEMP}" | \
...
@@ -128,13 +128,6 @@ grep -Rl "\"${MAIN_REPO_FROM_SRC}" "${CLIENT_REPO_TEMP}" | \
grep
-v
"vendor/"
|
\
grep
-v
"vendor/"
|
\
xargs
${
SED
}
-i
"s|
\"
${
MAIN_REPO_FROM_SRC
}
|
\"
${
CLIENT_REPO_FROM_SRC
}
|g"
xargs
${
SED
}
-i
"s|
\"
${
MAIN_REPO_FROM_SRC
}
|
\"
${
CLIENT_REPO_FROM_SRC
}
|g"
# strip all generator tags from client-go
find
"
${
CLIENT_REPO_TEMP
}
"
-type
f
-name
"*.go"
-print0
| xargs
-0
${
SED
}
-i
'/^\/\/ +k8s:openapi-gen=true/d'
find
"
${
CLIENT_REPO_TEMP
}
"
-type
f
-name
"*.go"
-print0
| xargs
-0
${
SED
}
-i
'/^\/\/ +k8s:defaulter-gen=/d'
find
"
${
CLIENT_REPO_TEMP
}
"
-type
f
-name
"*.go"
-print0
| xargs
-0
${
SED
}
-i
'/^\/\/ +k8s:deepcopy-gen=/d'
find
"
${
CLIENT_REPO_TEMP
}
"
-type
f
-name
"*.go"
-print0
| xargs
-0
${
SED
}
-i
'/^\/\/ +k8s:conversion-gen=/d'
echo
"rearranging directory layout"
echo
"rearranging directory layout"
# $1 and $2 are relative to ${CLIENT_REPO_TEMP}
# $1 and $2 are relative to ${CLIENT_REPO_TEMP}
function
mvfolder
{
function
mvfolder
{
...
...
staging/src/k8s.io/client-go/pkg/version/doc.go
View file @
b7fb418a
...
@@ -16,4 +16,5 @@ limitations under the License.
...
@@ -16,4 +16,5 @@ limitations under the License.
// Package version supplies version information collected at build time to
// Package version supplies version information collected at build time to
// kubernetes components.
// kubernetes components.
// +k8s:openapi-gen=true
package
version
// import "k8s.io/client-go/pkg/version"
package
version
// import "k8s.io/client-go/pkg/version"
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