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
b7f8369d
Commit
b7f8369d
authored
Oct 11, 2018
by
Sean Sullivan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kubectl: move translated data into kubectl
parent
688550b2
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
28 additions
and
4 deletions
+28
-4
.spelling_failures
hack/.spelling_failures
+1
-0
boilerplate.py
hack/boilerplate/boilerplate.py
+1
-1
generate-bindata.sh
hack/generate-bindata.sh
+1
-1
BUILD
pkg/kubectl/BUILD
+1
-0
BUILD
pkg/kubectl/generated/BUILD
+22
-0
bindata.go
pkg/kubectl/generated/bindata.go
+0
-0
BUILD
pkg/kubectl/util/i18n/BUILD
+1
-1
i18n.go
pkg/kubectl/util/i18n/i18n.go
+1
-1
No files found.
hack/.spelling_failures
View file @
b7f8369d
...
@@ -11,6 +11,7 @@ generated.proto
...
@@ -11,6 +11,7 @@ generated.proto
pkg/client/clientset_generated
pkg/client/clientset_generated
pkg/client/informers/informers_generated/
pkg/client/informers/informers_generated/
pkg/generated
pkg/generated
pkg/kubectl/generated
swagger
swagger
test/e2e/generated
test/e2e/generated
third_party/
third_party/
...
...
hack/boilerplate/boilerplate.py
View file @
b7f8369d
...
@@ -147,7 +147,7 @@ def file_extension(filename):
...
@@ -147,7 +147,7 @@ def file_extension(filename):
skipped_dirs
=
[
'Godeps'
,
'third_party'
,
'_gopath'
,
'_output'
,
'.git'
,
'cluster/env.sh'
,
skipped_dirs
=
[
'Godeps'
,
'third_party'
,
'_gopath'
,
'_output'
,
'.git'
,
'cluster/env.sh'
,
"vendor"
,
"test/e2e/generated/bindata.go"
,
"hack/boilerplate/test"
,
"vendor"
,
"test/e2e/generated/bindata.go"
,
"hack/boilerplate/test"
,
"pkg/generated/bindata.go"
]
"pkg/
kubectl/
generated/bindata.go"
]
# list all the files contain 'DO NOT EDIT', but are not generated
# list all the files contain 'DO NOT EDIT', but are not generated
skipped_ungenerated_files
=
[
'hack/build-ui.sh'
,
'hack/lib/swagger.sh'
,
skipped_ungenerated_files
=
[
'hack/build-ui.sh'
,
'hack/lib/swagger.sh'
,
...
...
hack/generate-bindata.sh
View file @
b7f8369d
...
@@ -64,7 +64,7 @@ fi
...
@@ -64,7 +64,7 @@ fi
rm
-f
"
${
BINDATA_OUTPUT
}
.tmp"
rm
-f
"
${
BINDATA_OUTPUT
}
.tmp"
# These are files for runtime code
# These are files for runtime code
BINDATA_OUTPUT
=
"pkg/generated/bindata.go"
BINDATA_OUTPUT
=
"pkg/
kubectl/
generated/bindata.go"
# IMPORTANT: if you make any changes to these arguments, you must also update
# IMPORTANT: if you make any changes to these arguments, you must also update
# pkg/generated/BUILD and/or build/bindata.bzl.
# pkg/generated/BUILD and/or build/bindata.bzl.
go-bindata
-nometadata
-nocompress
-o
"
${
BINDATA_OUTPUT
}
.tmp"
-pkg
generated
\
go-bindata
-nometadata
-nocompress
-o
"
${
BINDATA_OUTPUT
}
.tmp"
-pkg
generated
\
...
...
pkg/kubectl/BUILD
View file @
b7f8369d
...
@@ -118,6 +118,7 @@ filegroup(
...
@@ -118,6 +118,7 @@ filegroup(
"//pkg/kubectl/describe:all-srcs",
"//pkg/kubectl/describe:all-srcs",
"//pkg/kubectl/explain:all-srcs",
"//pkg/kubectl/explain:all-srcs",
"//pkg/kubectl/generate:all-srcs",
"//pkg/kubectl/generate:all-srcs",
"//pkg/kubectl/generated:all-srcs",
"//pkg/kubectl/metricsutil:all-srcs",
"//pkg/kubectl/metricsutil:all-srcs",
"//pkg/kubectl/polymorphichelpers:all-srcs",
"//pkg/kubectl/polymorphichelpers:all-srcs",
"//pkg/kubectl/proxy:all-srcs",
"//pkg/kubectl/proxy:all-srcs",
...
...
pkg/kubectl/generated/BUILD
0 → 100644
View file @
b7f8369d
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["bindata.go"],
importpath = "k8s.io/kubernetes/pkg/kubectl/generated",
visibility = ["//visibility:public"],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [":package-srcs"],
tags = ["automanaged"],
visibility = ["//visibility:public"],
)
pkg/generated/bindata.go
→
pkg/
kubectl/
generated/bindata.go
View file @
b7f8369d
File moved
pkg/kubectl/util/i18n/BUILD
View file @
b7f8369d
...
@@ -11,7 +11,7 @@ go_library(
...
@@ -11,7 +11,7 @@ go_library(
srcs = ["i18n.go"],
srcs = ["i18n.go"],
importpath = "k8s.io/kubernetes/pkg/kubectl/util/i18n",
importpath = "k8s.io/kubernetes/pkg/kubectl/util/i18n",
deps = [
deps = [
"//pkg/generated:go_default_library",
"//pkg/
kubectl/
generated:go_default_library",
"//vendor/github.com/chai2010/gettext-go/gettext:go_default_library",
"//vendor/github.com/chai2010/gettext-go/gettext:go_default_library",
"//vendor/github.com/golang/glog:go_default_library",
"//vendor/github.com/golang/glog:go_default_library",
],
],
...
...
pkg/kubectl/util/i18n/i18n.go
View file @
b7f8369d
...
@@ -24,7 +24,7 @@ import (
...
@@ -24,7 +24,7 @@ import (
"os"
"os"
"strings"
"strings"
"k8s.io/kubernetes/pkg/generated"
"k8s.io/kubernetes/pkg/
kubectl/
generated"
"github.com/chai2010/gettext-go/gettext"
"github.com/chai2010/gettext-go/gettext"
"github.com/golang/glog"
"github.com/golang/glog"
...
...
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