Merge pull request #45839 from caesarxuchao/client-gen-vendor

Automatic merge from submit-queue

let client-gen understand vendor

This is extracted from #44784, where we move external api types to k8s.io/api. After the move, the types will locate at vendor/k8s.io/api/xxx. However, gengo index the parsed package using the import path, which is stripped of  the vendor/ prefix, so we'll need to strip the vendor/ prefix as necessary in client-gen.

This PR doesn't produce any change to the generated clientset yet since all types are still in the kubernetes repo.
This commit is contained in:
Kubernetes Submit Queue
2017-05-18 17:45:35 -07:00
committed by GitHub
11 changed files with 74 additions and 6 deletions

View File

@@ -26,6 +26,7 @@ cmd/kubectl
cmd/kubelet
cmd/libs/go2idl/client-gen
cmd/libs/go2idl/client-gen/generators
cmd/libs/go2idl/client-gen/path
cmd/libs/go2idl/client-gen/test_apis/testgroup/install
cmd/libs/go2idl/conversion-gen
cmd/libs/go2idl/deepcopy-gen