[root@liabio k8s.io]# wget https://github.com/kubernetes/code-generator/archive/v0.17.3.zip
--2020-08-25 22:02:02-- https://github.com/kubernetes/code-generator/archive/v0.17.3.zip
Resolving github.com (github.com)... 140.82.113.4
Connecting to github.com (github.com)|140.82.113.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/kubernetes/code-generator/zip/v0.17.3 [following]
--2020-08-25 22:02:03-- https://codeload.github.com/kubernetes/code-generator/zip/v0.17.3
Resolving codeload.github.com (codeload.github.com)... 140.82.113.10
Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘v0.17.3.zip’
v0.17.3.zip [ <=> ] 460.13K 502KB/s in 0.9s
2020-08-25 22:02:05 (502 KB/s) - ‘v0.17.3.zip’ saved [471175]
[root@liabio k8s.io]# ll
total 468
drwxr-xr-x 23 root root 4096 Aug 24 08:21 kubernetes
-rw-r--r-- 1 root root 471175 Aug 25 22:02 v0.17.3.zip
[root@liabio k8s.io]# unzip v0.17.3.zip
[root@liabio k8s.io]# mv code-generator-0.17.3 code-generator
[root@liabio k8s.io]# cd code-generator/
[root@liabio code-generator]# lll
-bash: lll: command not found
[root@liabio code-generator]# ll
total 92
drwxr-xr-x 13 root root 4096 Feb 1 2020 cmd
-rw-r--r-- 1 root root 148 Feb 1 2020 code-of-conduct.md
-rw-r--r-- 1 root root 750 Feb 1 2020 CONTRIBUTING.md
drwxr-xr-x 6 root root 4096 Feb 1 2020 _examples
-rwxr-xr-x 1 root root 3837 Feb 1 2020 generate-groups.sh
-rwxr-xr-x 1 root root 5834 Feb 1 2020 generate-internal-groups.sh
drwxr-xr-x 2 root root 4096 Feb 1 2020 Godeps
-rw-r--r-- 1 root root 1209 Feb 1 2020 go.mod
-rw-r--r-- 1 root root 13277 Feb 1 2020 go.sum
drwxr-xr-x 2 root root 4096 Feb 1 2020 hack
-rw-r--r-- 1 root root 11358 Feb 1 2020 LICENSE
-rw-r--r-- 1 root root 184 Feb 1 2020 OWNERS
drwxr-xr-x 4 root root 4096 Feb 1 2020 pkg
-rw-r--r-- 1 root root 1440 Feb 1 2020 README.md
-rw-r--r-- 1 root root 563 Feb 1 2020 SECURITY_CONTACTS
drwxr-xr-x 3 root root 4096 Feb 1 2020 third_party
-rw-r--r-- 1 root root 1247 Feb 1 2020 tools.go
[root@liabio code-generator]# go mod vendor
go: downloading gonum.org/v1/gonum v0.0.0-20190331200053-3d26580ed485
go: downloading github.com/emicklei/go-restful v2.9.5+incompatible
go: downloading gopkg.in/yaml.v2 v2.2.8
[root@liabio code-generator]# ll
total 96
drwxr-xr-x 13 root root 4096 Feb 1 2020 cmd
-rw-r--r-- 1 root root 148 Feb 1 2020 code-of-conduct.md
-rw-r--r-- 1 root root 750 Feb 1 2020 CONTRIBUTING.md
drwxr-xr-x 6 root root 4096 Feb 1 2020 _examples
-rwxr-xr-x 1 root root 3837 Feb 1 2020 generate-groups.sh
-rwxr-xr-x 1 root root 5834 Feb 1 2020 generate-internal-groups.sh
drwxr-xr-x 2 root root 4096 Feb 1 2020 Godeps
-rw-r--r-- 1 root root 1209 Feb 1 2020 go.mod
-rw-r--r-- 1 root root 13277 Feb 1 2020 go.sum
drwxr-xr-x 2 root root 4096 Feb 1 2020 hack
-rw-r--r-- 1 root root 11358 Feb 1 2020 LICENSE
-rw-r--r-- 1 root root 184 Feb 1 2020 OWNERS
drwxr-xr-x 4 root root 4096 Feb 1 2020 pkg
-rw-r--r-- 1 root root 1440 Feb 1 2020 README.md
-rw-r--r-- 1 root root 563 Feb 1 2020 SECURITY_CONTACTS
drwxr-xr-x 3 root root 4096 Feb 1 2020 third_party
-rw-r--r-- 1 root root 1247 Feb 1 2020 tools.go
drwxr-xr-x 7 root root 4096 Aug 25 22:02 vendor
[root@liabio code-generator]# /data/go/src/k8s.io/code-generator/generate-groups.sh all harmonycloud.cn/middleware-server/pkg/client harmonycloud.cn/middleware-server/pkg/apis middleware:v1alpha1
Generating deepcopy funcs
F0825 22:02:46.524911 97166 main.go:82] Error: Failed making a parser: unable to add directory "harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1": unable to import "harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1": cannot find module providing package harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1: unrecognized import path "harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1": https fetch: Get "https://harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1?go-get=1": dial tcp 47.93.103.171:443: connect: connection refused
[root@liabio code-generator]#
[root@liabio code-generator]# GO111MODULES=off /data/go/src/k8s.io/code-generator/generate-groups.sh all harmonycloud.cn/middleware-server/pkg/client harmonycloud.cn/middleware-server/pkg/apis middleware:v1alpha1
Generating deepcopy funcs
F0825 22:03:09.586881 97834 main.go:82] Error: Failed making a parser: unable to add directory "harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1": unable to import "harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1": cannot find module providing package harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1: unrecognized import path "harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1": https fetch: Get "https://harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1?go-get=1": dial tcp 47.93.103.171:443: connect: connection refused
[root@liabio code-generator]#
[root@liabio code-generator]#
[root@liabio code-generator]# go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOENV="/root/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/data/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/data/go/src/k8s.io/code-generator/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build112720670=/tmp/go-build -gno-record-gcc-switches"
[root@liabio code-generator]#
[root@liabio code-generator]#
[root@liabio code-generator]# GO111MODULE=off /data/go/src/k8s.io/code-generator/generate-groups.sh all harmonycloud.cn/middleware-server/pkg/client harmonycloud.cn/middleware-server/pkg/apis middleware:v1alpha1
Generating deepcopy funcs
Generating clientset for middleware:v1alpha1 at harmonycloud.cn/middleware-server/pkg/client/clientset
Generating listers for middleware:v1alpha1 at harmonycloud.cn/middleware-server/pkg/client/listers
Generating informers for middleware:v1alpha1 at harmonycloud.cn/middleware-server/pkg/client/informers
[root@liabio code-generator]#
[root@liabio code-generator]#
[root@liabio code-generator]#
[root@liabio code-generator]# ll
total 96
drwxr-xr-x 13 root root 4096 Feb 1 2020 cmd
-rw-r--r-- 1 root root 148 Feb 1 2020 code-of-conduct.md
-rw-r--r-- 1 root root 750 Feb 1 2020 CONTRIBUTING.md
drwxr-xr-x 6 root root 4096 Feb 1 2020 _examples
-rwxr-xr-x 1 root root 3837 Feb 1 2020 generate-groups.sh
-rwxr-xr-x 1 root root 5834 Feb 1 2020 generate-internal-groups.sh
drwxr-xr-x 2 root root 4096 Feb 1 2020 Godeps
-rw-r--r-- 1 root root 1209 Feb 1 2020 go.mod
-rw-r--r-- 1 root root 13277 Feb 1 2020 go.sum
drwxr-xr-x 2 root root 4096 Feb 1 2020 hack
-rw-r--r-- 1 root root 11358 Feb 1 2020 LICENSE
-rw-r--r-- 1 root root 184 Feb 1 2020 OWNERS
drwxr-xr-x 4 root root 4096 Feb 1 2020 pkg
-rw-r--r-- 1 root root 1440 Feb 1 2020 README.md
-rw-r--r-- 1 root root 563 Feb 1 2020 SECURITY_CONTACTS
drwxr-xr-x 3 root root 4096 Feb 1 2020 third_party
-rw-r--r-- 1 root root 1247 Feb 1 2020 tools.go
drwxr-xr-x 7 root root 4096 Aug 25 22:02 vendor
[root@liabio code-generator]#
[root@liabio code-generator]#
[root@liabio code-generator]# /data/go/src/k8s.io/code-generator/generate-groups.sh all harmonycloud.cn/middleware-server/pkg/client harmonycloud.cn/middleware-server/pkg/apis middleware:v1alpha1
Generating deepcopy funcs
F0825 22:04:27.201422 100398 main.go:82] Error: Failed making a parser: unable to add directory "harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1": unable to import "harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1": cannot find module providing package harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1: unrecognized import path "harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1": https fetch: Get "https://harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1?go-get=1": dial tcp 47.93.103.171:443: connect: connection refused
[root@liabio code-generator]# GO111MODULE=off /data/go/src/k8s.io/code-generator/generate-groups.sh all harmonycloud.cn/middleware-server/pkg/client harmonycloud.cn/middleware-server/pkg/apis middleware:v1alpha1
Generating deepcopy funcs
Generating clientset for middleware:v1alpha1 at harmonycloud.cn/middleware-server/pkg/client/clientset
Generating listers for middleware:v1alpha1 at harmonycloud.cn/middleware-server/pkg/client/listers
Generating informers for middleware:v1alpha1 at harmonycloud.cn/middleware-server/pkg/client/informers
[root@liabio code-generator]# ls /data/go/src/harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1/
types.go
[root@liabio code-generator]#
[root@liabio code-generator]# ls /data/go/src/harmonycloud.cn/middleware-server/pkg/client/
clientset informers listers
[root@liabio code-generator]#
没生成deepcopy。
GO111MODULE=off /data/go/src/k8s.io/code-generator/generate-groups.sh all harmonycloud.cn/middleware-server/pkg/client harmonycloud.cn/middleware-server/pkg/apis middleware:v1alpha1 --v=5
Generating deepcopy funcs
I0825 22:12:41.725352 114752 parse.go:336] importPackage harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1
I0825 22:12:41.725394 114752 parse.go:290] addDir harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1
I0825 22:12:41.725547 114752 parse.go:142] saving buildPackage harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1
I0825 22:12:41.725614 114752 parse.go:361] importPackage harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1, canonical path is harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1
I0825 22:12:41.725624 114752 parse.go:401] typeCheckPackage harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1
I0825 22:12:41.725641 114752 parse.go:336] importPackage k8s.io/apimachinery/pkg/apis/meta/v1
I0825 22:12:41.725647 114752 parse.go:290] addDir k8s.io/apimachinery/pkg/apis/meta/v1
I0825 22:12:41.725752 114752 parse.go:428] type checker: /data/go/src/harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1/types.go:20:9: could not import k8s.io/apimachinery/pkg/apis/meta/v1 (unable to import "k8s.io/apimachinery/pkg/apis/meta/v1": cannot find package "k8s.io/apimachinery/pkg/apis/meta/v1" in any of:
/data/go/src/k8s.io/code-generator/vendor/k8s.io/apimachinery/pkg/apis/meta/v1 (vendor tree)
/usr/local/go/src/k8s.io/apimachinery/pkg/apis/meta/v1 (from $GOROOT)
/data/go/src/k8s.io/apimachinery/pkg/apis/meta/v1 (from $GOPATH))
I0825 22:12:41.725797 114752 parse.go:377] type checking encountered some issues in "harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1", but ignoring.
I0825 22:12:41.725811 114752 parse.go:481] findTypesIn harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1
I0825 22:12:41.725895 114752 deepcopy.go:151] Considering pkg "harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1"
I0825 22:12:41.725908 114752 deepcopy.go:169] no tag
I0825 22:12:41.725916 114752 deepcopy.go:178] considering type "harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1.RemoveNode"
I0825 22:12:41.725925 114752 deepcopy.go:178] considering type "harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1.RemoveNodeSpec"
I0825 22:12:41.725934 114752 deepcopy.go:178] considering type "harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1.RemoveNodeStatus"
I0825 22:12:41.725941 114752 main.go:84] Completed successfully.
Generating clientset for middleware:v1alpha1 at harmonycloud.cn/middleware-server/pkg/client/clientset
I0825 22:12:41.731300 114758 parse.go:336] importPackage harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1
I0825 22:12:41.731343 114758 parse.go:290] addDir harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1
I0825 22:12:41.731487 114758 parse.go:142] saving buildPackage harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1
I0825 22:12:41.731552 114758 parse.go:361] importPackage harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1, canonical path is harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1
I0825 22:12:41.731565 114758 parse.go:401] typeCheckPackage harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1
I0825 22:12:41.731584 114758 parse.go:336] importPackage k8s.io/apimachinery/pkg/apis/meta/v1
I0825 22:12:41.731595 114758 parse.go:290] addDir k8s.io/apimachinery/pkg/apis/meta/v1
I0825 22:12:41.731716 114758 parse.go:428] type checker: /data/go/src/harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1/types.go:20:9: could not import k8s.io/apimachinery/pkg/apis/meta/v1 (unable to import "k8s.io/apimachinery/pkg/apis/meta/v1": cannot find package "k8s.io/apimachinery/pkg/apis/meta/v1" in any of:
/data/go/src/k8s.io/code-generator/vendor/k8s.io/apimachinery/pkg/apis/meta/v1 (vendor tree)
/usr/local/go/src/k8s.io/apimachinery/pkg/apis/meta/v1 (from $GOROOT)
/data/go/src/k8s.io/apimachinery/pkg/apis/meta/v1 (from $GOPATH))
I0825 22:12:41.731761 114758 parse.go:377] type checking encountered some issues in "harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1", but ignoring.
I0825 22:12:41.731772 114758 parse.go:481] findTypesIn harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1
I0825 22:12:41.731867 114758 execute.go:217] Processing package "versioned", disk location "/data/go/src/harmonycloud.cn/middleware-server/pkg/client/clientset/versioned"
I0825 22:12:41.732175 114758 execute.go:67] Assembling file "/data/go/src/harmonycloud.cn/middleware-server/pkg/client/clientset/versioned/doc.go"
I0825 22:12:41.732357 114758 execute.go:67] Assembling file "/data/go/src/harmonycloud.cn/middleware-server/pkg/client/clientset/versioned/clientset.go"
I0825 22:12:41.733709 114758 execute.go:217] Processing package "scheme", disk location "/data/go/src/harmonycloud.cn/middleware-server/pkg/client/clientset/versioned/scheme"
I0825 22:12:41.733905 114758 execute.go:67] Assembling file "/data/go/src/harmonycloud.cn/middleware-server/pkg/client/clientset/versioned/scheme/doc.go"
I0825 22:12:41.734041 114758 execute.go:67] Assembling file "/data/go/src/harmonycloud.cn/middleware-server/pkg/client/clientset/versioned/scheme/register.go"
I0825 22:12:41.734429 114758 execute.go:217] Processing package "fake", disk location "/data/go/src/harmonycloud.cn/middleware-server/pkg/client/clientset/versioned/fake"
I0825 22:12:41.734738 114758 execute.go:67] Assembling file "/data/go/src/harmonycloud.cn/middleware-server/pkg/client/clientset/versioned/fake/doc.go"
I0825 22:12:41.734870 114758 execute.go:67] Assembling file "/data/go/src/harmonycloud.cn/middleware-server/pkg/client/clientset/versioned/fake/clientset_generated.go"
I0825 22:12:41.834049 114758 execute.go:67] Assembling file "/data/go/src/harmonycloud.cn/middleware-server/pkg/client/clientset/versioned/fake/register.go"
I0825 22:12:41.834531 114758 execute.go:217] Processing package "v1alpha1", disk location "/data/go/src/harmonycloud.cn/middleware-server/pkg/client/clientset/versioned/typed/middleware/v1alpha1"
I0825 22:12:41.835698 114758 execute.go:67] Assembling file "/data/go/src/harmonycloud.cn/middleware-server/pkg/client/clientset/versioned/typed/middleware/v1alpha1/doc.go"
I0825 22:12:41.835856 114758 execute.go:67] Assembling file "/data/go/src/harmonycloud.cn/middleware-server/pkg/client/clientset/versioned/typed/middleware/v1alpha1/removenode.go"
I0825 22:12:41.838411 114758 execute.go:67] Assembling file "/data/go/src/harmonycloud.cn/middleware-server/pkg/client/clientset/versioned/typed/middleware/v1alpha1/middleware_client.go"
I0825 22:12:41.839066 114758 execute.go:67] Assembling file "/data/go/src/harmonycloud.cn/middleware-server/pkg/client/clientset/versioned/typed/middleware/v1alpha1/generated_expansion.go"
I0825 22:12:41.839216 114758 execute.go:217] Processing package "fake", disk location "/data/go/src/harmonycloud.cn/middleware-server/pkg/client/clientset/versioned/typed/middleware/v1alpha1/fake"
I0825 22:12:41.840349 114758 execute.go:67] Assembling file "/data/go/src/harmonycloud.cn/middleware-server/pkg/client/clientset/versioned/typed/middleware/v1alpha1/fake/doc.go"
I0825 22:12:41.840537 114758 execute.go:67] Assembling file "/data/go/src/harmonycloud.cn/middleware-server/pkg/client/clientset/versioned/typed/middleware/v1alpha1/fake/fake_removenode.go"
I0825 22:12:41.842085 114758 execute.go:67] Assembling file "/data/go/src/harmonycloud.cn/middleware-server/pkg/client/clientset/versioned/typed/middleware/v1alpha1/fake/fake_middleware_client.go"
Generating listers for middleware:v1alpha1 at harmonycloud.cn/middleware-server/pkg/client/listers
I0825 22:12:41.848872 114770 parse.go:336] importPackage harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1
I0825 22:12:41.848905 114770 parse.go:290] addDir harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1
I0825 22:12:41.849036 114770 parse.go:142] saving buildPackage harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1
I0825 22:12:41.849093 114770 parse.go:361] importPackage harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1, canonical path is harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1
I0825 22:12:41.849104 114770 parse.go:401] typeCheckPackage harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1
I0825 22:12:41.849121 114770 parse.go:336] importPackage k8s.io/apimachinery/pkg/apis/meta/v1
I0825 22:12:41.849124 114770 parse.go:290] addDir k8s.io/apimachinery/pkg/apis/meta/v1
I0825 22:12:41.849164 114770 parse.go:428] type checker: /data/go/src/harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1/types.go:20:9: could not import k8s.io/apimachinery/pkg/apis/meta/v1 (unable to import "k8s.io/apimachinery/pkg/apis/meta/v1": cannot find package "k8s.io/apimachinery/pkg/apis/meta/v1" in any of:
/data/go/src/k8s.io/code-generator/vendor/k8s.io/apimachinery/pkg/apis/meta/v1 (vendor tree)
/usr/local/go/src/k8s.io/apimachinery/pkg/apis/meta/v1 (from $GOROOT)
/data/go/src/k8s.io/apimachinery/pkg/apis/meta/v1 (from $GOPATH))
I0825 22:12:41.849208 114770 parse.go:377] type checking encountered some issues in "harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1", but ignoring.
I0825 22:12:41.849217 114770 parse.go:481] findTypesIn harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1
I0825 22:12:41.849298 114770 execute.go:217] Processing package "internalversion", disk location "/data/go/src/harmonycloud.cn/middleware-server/pkg/client/listers/v1alpha1/internalversion"
I0825 22:12:41.849415 114770 lister.go:226] processing type harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1.RemoveNode
I0825 22:12:41.849746 114770 execute.go:67] Assembling file "/data/go/src/harmonycloud.cn/middleware-server/pkg/client/listers/v1alpha1/internalversion/removenode.go"
I0825 22:12:41.851171 114770 execute.go:67] Assembling file "/data/go/src/harmonycloud.cn/middleware-server/pkg/client/listers/v1alpha1/internalversion/expansion_generated.go"
I0825 22:12:41.851342 114770 main.go:59] Completed successfully.
Generating informers for middleware:v1alpha1 at harmonycloud.cn/middleware-server/pkg/client/informers
I0825 22:12:41.857214 114776 parse.go:336] importPackage harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1
I0825 22:12:41.857256 114776 parse.go:290] addDir harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1
I0825 22:12:41.857391 114776 parse.go:142] saving buildPackage harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1
I0825 22:12:41.857454 114776 parse.go:361] importPackage harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1, canonical path is harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1
I0825 22:12:41.857477 114776 parse.go:401] typeCheckPackage harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1
I0825 22:12:41.857496 114776 parse.go:336] importPackage k8s.io/apimachinery/pkg/apis/meta/v1
I0825 22:12:41.857504 114776 parse.go:290] addDir k8s.io/apimachinery/pkg/apis/meta/v1
I0825 22:12:41.857554 114776 parse.go:428] type checker: /data/go/src/harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1/types.go:20:9: could not import k8s.io/apimachinery/pkg/apis/meta/v1 (unable to import "k8s.io/apimachinery/pkg/apis/meta/v1": cannot find package "k8s.io/apimachinery/pkg/apis/meta/v1" in any of:
/data/go/src/k8s.io/code-generator/vendor/k8s.io/apimachinery/pkg/apis/meta/v1 (vendor tree)
/usr/local/go/src/k8s.io/apimachinery/pkg/apis/meta/v1 (from $GOROOT)
/data/go/src/k8s.io/apimachinery/pkg/apis/meta/v1 (from $GOPATH))
I0825 22:12:41.857607 114776 parse.go:377] type checking encountered some issues in "harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1", but ignoring.
I0825 22:12:41.857623 114776 parse.go:481] findTypesIn harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1
I0825 22:12:41.857728 114776 execute.go:217] Processing package "internalversion", disk location "/data/go/src/harmonycloud.cn/middleware-server/pkg/client/informers/internalversion/v1alpha1/internalversion"
I0825 22:12:41.857938 114776 informer.go:69] processing type harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1.RemoveNode
I0825 22:12:41.858272 114776 execute.go:67] Assembling file "/data/go/src/harmonycloud.cn/middleware-server/pkg/client/informers/internalversion/v1alpha1/internalversion/removenode.go"
I0825 22:12:41.859918 114776 execute.go:67] Assembling file "/data/go/src/harmonycloud.cn/middleware-server/pkg/client/informers/internalversion/v1alpha1/internalversion/interface.go"
I0825 22:12:41.860288 114776 execute.go:217] Processing package "internalinterfaces", disk location "/data/go/src/harmonycloud.cn/middleware-server/pkg/client/informers/internalversion/internalinterfaces"
I0825 22:12:41.860312 114776 factoryinterface.go:63] processing type harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1.RemoveNode
I0825 22:12:41.860424 114776 execute.go:67] Assembling file "/data/go/src/harmonycloud.cn/middleware-server/pkg/client/informers/internalversion/internalinterfaces/factory_interfaces.go"
I0825 22:12:41.860753 114776 execute.go:217] Processing package "internalversion", disk location "/data/go/src/harmonycloud.cn/middleware-server/pkg/client/informers/internalversion"
I0825 22:12:41.860781 114776 factory.go:68] processing type harmonycloud.cn/middleware-server/pkg/apis/middleware/v1alpha1.RemoveNode
I0825 22:12:41.861264 114776 execute.go:67] Assembling file "/data/go/src/harmonycloud.cn/middleware-server/pkg/client/informers/internalversion/factory.go"
I0825 22:12:41.862914 114776 execute.go:67] Assembling file "/data/go/src/harmonycloud.cn/middleware-server/pkg/client/informers/internalversion/generic.go"
I0825 22:12:41.863408 114776 execute.go:217] Processing package "v1alpha1", disk location "/data/go/src/harmonycloud.cn/middleware-server/pkg/client/informers/internalversion/v1alpha1"
I0825 22:12:41.863701 114776 execute.go:67] Assembling file "/data/go/src/harmonycloud.cn/middleware-server/pkg/client/informers/internalversion/v1alpha1/interface.go"
I0825 22:12:41.864108 114776 main.go:62] Completed successfully.
[root@liabio code-generator]#
[root@liabio code-generator]#
[root@liabio code-generator]#