kubectl: move translated data into kubectl

This commit is contained in:
Sean Sullivan
2018-10-11 16:03:57 -07:00
parent 688550b2d3
commit b7f8369da2
8 changed files with 28 additions and 4 deletions

View File

@@ -11,6 +11,7 @@ generated.proto
pkg/client/clientset_generated
pkg/client/informers/informers_generated/
pkg/generated
pkg/kubectl/generated
swagger
test/e2e/generated
third_party/

View File

@@ -147,7 +147,7 @@ def file_extension(filename):
skipped_dirs = ['Godeps', 'third_party', '_gopath', '_output', '.git', 'cluster/env.sh',
"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
skipped_ungenerated_files = ['hack/build-ui.sh', 'hack/lib/swagger.sh',

View File

@@ -64,7 +64,7 @@ fi
rm -f "${BINDATA_OUTPUT}.tmp"
# 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
# pkg/generated/BUILD and/or build/bindata.bzl.
go-bindata -nometadata -nocompress -o "${BINDATA_OUTPUT}.tmp" -pkg generated \