diff --git a/Gopkg.lock b/Gopkg.lock index 26ebc26..0eb40b4 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -1,17 +1,11 @@ # This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. -[[projects]] - name = "cloud.google.com/go" - packages = ["compute/metadata"] - revision = "767c40d6a2e058483c25fa193e963a22da17236d" - version = "v0.18.0" - [[projects]] name = "github.com/Azure/azure-pipeline-go" packages = ["pipeline"] - revision = "0f0dbf237bd47d5688310dbd3fac369353f280d0" - version = "0.1.5" + revision = "098e490af5dc2a905cdc5b64cafda6887b29164b" + version = "0.1.6" [[projects]] branch = "master" @@ -49,6 +43,12 @@ revision = "b26d9c308763d68093482582cea63d69be07a0f0" version = "v0.3.0" +[[projects]] + branch = "master" + name = "github.com/MakeNowJust/heredoc" + packages = ["."] + revision = "e9091a26100e9cfb2b6a8f470085bfa541931a91" + [[projects]] name = "github.com/Masterminds/semver" packages = ["."] @@ -265,21 +265,6 @@ ] revision = "bc6354cbbc295e925e4c611ffe90c1f287ee54db" -[[projects]] - name = "github.com/emicklei/go-restful" - packages = [ - ".", - "log" - ] - revision = "2dd44038f0b95ae693b266c5f87593b5d2fdd78d" - version = "v2.5.0" - -[[projects]] - name = "github.com/emicklei/go-restful-swagger12" - packages = ["."] - revision = "dcef7f55730566d41eae5db10e7d6981829720f6" - version = "1.0.1" - [[projects]] branch = "master" name = "github.com/evanphx/json-patch" @@ -404,20 +389,6 @@ revision = "ee43cbb60db7bd22502942cccbc39059117352ab" version = "v0.1.0" -[[projects]] - branch = "master" - name = "github.com/gophercloud/gophercloud" - packages = [ - ".", - "openstack", - "openstack/identity/v2/tenants", - "openstack/identity/v2/tokens", - "openstack/identity/v3/tokens", - "openstack/utils", - "pagination" - ] - revision = "4a3f5ae58624b68283375060dad06a214b05a32b" - [[projects]] name = "github.com/gorilla/context" packages = ["."] @@ -505,12 +476,6 @@ revision = "f7279a603edee96fe7764d3de9c6ff8cf9970994" version = "1.0.4" -[[projects]] - name = "github.com/juju/ratelimit" - packages = ["."] - revision = "59fac5042749a5afb9af70e813da1dd5474f0167" - version = "1.0.1" - [[projects]] branch = "master" name = "github.com/mailru/easyjson" @@ -557,6 +522,12 @@ packages = ["."] revision = "b8bc1bf767474819792c23f32d8286a45736f1c6" +[[projects]] + branch = "master" + name = "github.com/mitchellh/go-wordwrap" + packages = ["."] + revision = "ad45545899c7b13c020ea92b2072220eefad42b8" + [[projects]] name = "github.com/oklog/ulid" packages = ["."] @@ -650,6 +621,12 @@ packages = ["."] revision = "27b537f07230b3f917421af6dcf044038dbe57e2" +[[projects]] + name = "github.com/russross/blackfriday" + packages = ["."] + revision = "55d61fa8aa702f59229e6cff85793c22e580eaf5" + version = "v1.5.1" + [[projects]] name = "github.com/satori/go.uuid" packages = ["."] @@ -705,6 +682,8 @@ branch = "master" name = "golang.org/x/crypto" packages = [ + "ed25519", + "ed25519/internal/edwards25519", "pbkdf2", "scrypt", "ssh/terminal" @@ -727,18 +706,6 @@ ] revision = "0ed95abb35c445290478a5348a7b38bb154135fd" -[[projects]] - branch = "master" - name = "golang.org/x/oauth2" - packages = [ - ".", - "google", - "internal", - "jws", - "jwt" - ] - revision = "b28fcf2b08a19742b43084fb40ab78ac6c3d8067" - [[projects]] branch = "master" name = "golang.org/x/sys" @@ -783,40 +750,35 @@ revision = "6dc17368e09b0e8634d71cac8168d853e869a0c7" [[projects]] - name = "google.golang.org/appengine" - packages = [ - ".", - "internal", - "internal/app_identity", - "internal/base", - "internal/datastore", - "internal/log", - "internal/modules", - "internal/remote_api", - "internal/urlfetch", - "urlfetch" - ] - revision = "150dc57a1b433e64154302bdc40b6bb8aefa313a" - version = "v1.0.0" + branch = "master" + name = "google.golang.org/genproto" + packages = ["googleapis/rpc/status"] + revision = "86e600f69ee4704c6efbf6a2a40a5c10700e76c2" [[projects]] name = "google.golang.org/grpc" packages = [ ".", + "balancer", "codes", + "connectivity", "credentials", + "grpclb/grpc_lb_v1/messages", "grpclog", + "health/grpc_health_v1", "internal", "keepalive", "metadata", "naming", "peer", + "resolver", "stats", + "status", "tap", "transport" ] - revision = "8050b9cbc271307e5a716a9d782803d09b0d6f2d" - version = "v1.2.1" + revision = "5ffe3083946d5603a0578721101dc8165b1d5b5f" + version = "v1.7.2" [[projects]] name = "gopkg.in/fsnotify.v1" @@ -831,6 +793,17 @@ revision = "3887ee99ecf07df5b447e9b00d9c0b2adaa9f3e4" version = "v0.9.0" +[[projects]] + name = "gopkg.in/square/go-jose.v2" + packages = [ + ".", + "cipher", + "json", + "jwt" + ] + revision = "76dd09796242edb5b897103a75df2645c028c960" + version = "v2.1.6" + [[projects]] branch = "v1" name = "gopkg.in/tomb.v1" @@ -844,9 +817,10 @@ revision = "d670f9405373e636a5a2765eea47fac0c9bc91a4" [[projects]] - branch = "master" + branch = "release-1.10" name = "k8s.io/api" packages = [ + "admission/v1beta1", "admissionregistration/v1alpha1", "admissionregistration/v1beta1", "apps/v1", @@ -865,6 +839,7 @@ "core/v1", "events/v1beta1", "extensions/v1beta1", + "imagepolicy/v1alpha1", "networking/v1", "policy/v1beta1", "rbac/v1", @@ -876,16 +851,16 @@ "storage/v1alpha1", "storage/v1beta1" ] - revision = "fbe336854453ac8e27bffe14e1964555245cbd05" + revision = "590a9173e3b65d74e907fcfd94b78465cf314760" [[projects]] - branch = "master" + branch = "release-1.10" name = "k8s.io/apiextensions-apiserver" packages = ["pkg/features"] - revision = "da698a008336207254bc4722218c99d1f8ba1c6c" + revision = "071efd121cdb021eb80e4a733a2037b077381976" [[projects]] - branch = "master" + branch = "release-1.10" name = "k8s.io/apimachinery" packages = [ "pkg/api/equality", @@ -900,7 +875,8 @@ "pkg/apis/meta/v1", "pkg/apis/meta/v1/unstructured", "pkg/apis/meta/v1/validation", - "pkg/apis/meta/v1alpha1", + "pkg/apis/meta/v1beta1", + "pkg/apis/testapigroup", "pkg/conversion", "pkg/conversion/queryparams", "pkg/fields", @@ -918,6 +894,7 @@ "pkg/util/cache", "pkg/util/clock", "pkg/util/diff", + "pkg/util/duration", "pkg/util/errors", "pkg/util/framer", "pkg/util/httpstream", @@ -927,6 +904,7 @@ "pkg/util/mergepatch", "pkg/util/net", "pkg/util/rand", + "pkg/util/remotecommand", "pkg/util/runtime", "pkg/util/sets", "pkg/util/strategicpatch", @@ -941,10 +919,10 @@ "third_party/forked/golang/netutil", "third_party/forked/golang/reflect" ] - revision = "2f1e02d3e57b8fb5206c5326bcb65217edc63a8e" + revision = "01bc873149a1802eb74df583613872d126449ed5" [[projects]] - branch = "master" + branch = "release-1.10" name = "k8s.io/apiserver" packages = [ "pkg/apis/audit", @@ -956,17 +934,53 @@ "pkg/util/feature", "pkg/util/flag" ] - revision = "d48bded43d40bdbdae3fc15124f096379b12ff23" + revision = "0841753fc26e934b715ca7a83dced5bcb721245a" [[projects]] name = "k8s.io/client-go" packages = [ "discovery", "dynamic", + "informers", + "informers/admissionregistration", + "informers/admissionregistration/v1alpha1", + "informers/admissionregistration/v1beta1", + "informers/apps", + "informers/apps/v1", "informers/apps/v1beta1", + "informers/apps/v1beta2", + "informers/autoscaling", + "informers/autoscaling/v1", + "informers/autoscaling/v2beta1", + "informers/batch", + "informers/batch/v1", + "informers/batch/v1beta1", + "informers/batch/v2alpha1", + "informers/certificates", + "informers/certificates/v1beta1", + "informers/core", "informers/core/v1", + "informers/events", + "informers/events/v1beta1", + "informers/extensions", "informers/extensions/v1beta1", "informers/internalinterfaces", + "informers/networking", + "informers/networking/v1", + "informers/policy", + "informers/policy/v1beta1", + "informers/rbac", + "informers/rbac/v1", + "informers/rbac/v1alpha1", + "informers/rbac/v1beta1", + "informers/scheduling", + "informers/scheduling/v1alpha1", + "informers/settings", + "informers/settings/v1alpha1", + "informers/storage", + "informers/storage/v1", + "informers/storage/v1alpha1", + "informers/storage/v1beta1", "kubernetes", "kubernetes/scheme", "kubernetes/typed/admissionregistration/v1alpha1", @@ -997,17 +1011,44 @@ "kubernetes/typed/storage/v1", "kubernetes/typed/storage/v1alpha1", "kubernetes/typed/storage/v1beta1", + "listers/admissionregistration/v1alpha1", + "listers/admissionregistration/v1beta1", + "listers/apps/v1", "listers/apps/v1beta1", + "listers/apps/v1beta2", + "listers/autoscaling/v1", + "listers/autoscaling/v2beta1", + "listers/batch/v1", + "listers/batch/v1beta1", + "listers/batch/v2alpha1", + "listers/certificates/v1beta1", "listers/core/v1", + "listers/events/v1beta1", "listers/extensions/v1beta1", + "listers/networking/v1", + "listers/policy/v1beta1", + "listers/rbac/v1", + "listers/rbac/v1alpha1", + "listers/rbac/v1beta1", + "listers/scheduling/v1alpha1", + "listers/settings/v1alpha1", + "listers/storage/v1", + "listers/storage/v1alpha1", + "listers/storage/v1beta1", + "pkg/apis/clientauthentication", + "pkg/apis/clientauthentication/v1alpha1", "pkg/version", - "plugin/pkg/client/auth", - "plugin/pkg/client/auth/azure", - "plugin/pkg/client/auth/gcp", - "plugin/pkg/client/auth/oidc", - "plugin/pkg/client/auth/openstack", + "plugin/pkg/client/auth/exec", "rest", "rest/watch", + "scale", + "scale/scheme", + "scale/scheme/appsint", + "scale/scheme/appsv1beta1", + "scale/scheme/appsv1beta2", + "scale/scheme/autoscalingv1", + "scale/scheme/extensionsint", + "scale/scheme/extensionsv1beta1", "third_party/forked/golang/template", "tools/auth", "tools/cache", @@ -1020,10 +1061,12 @@ "tools/portforward", "tools/record", "tools/reference", + "tools/remotecommand", "transport", "transport/spdy", "util/buffer", "util/cert", + "util/exec", "util/flowcontrol", "util/homedir", "util/integer", @@ -1031,8 +1074,8 @@ "util/retry", "util/workqueue" ] - revision = "78700dec6369ba22221b72770783300f143df150" - version = "v6.0.0" + revision = "23781f4d6632d88e869066eaebb743857aa1ef9b" + version = "v7.0.0" [[projects]] name = "k8s.io/helm" @@ -1052,52 +1095,41 @@ "pkg/storage", "pkg/storage/driver", "pkg/strvals", + "pkg/sympath", "pkg/tiller/environment", "pkg/timeconv", "pkg/version" ] - revision = "8478fb4fc723885b155c924d1c8c410b7a9444e6" - version = "v2.7.2" + revision = "f6025bb9ee7daf9fee0026541c90a6f557a3e0bc" + version = "v2.9.0" [[projects]] branch = "master" name = "k8s.io/kube-openapi" - packages = ["pkg/util/proto"] + packages = [ + "pkg/util/proto", + "pkg/util/proto/validation" + ] revision = "a07b7bbb58e7fdc5144f8d7046331d29fc9ad3b3" [[projects]] + branch = "release-1.10" name = "k8s.io/kubernetes" packages = [ - "federation/apis/federation", - "federation/apis/federation/install", - "federation/apis/federation/v1beta1", - "federation/client/clientset_generated/federation_clientset", - "federation/client/clientset_generated/federation_clientset/scheme", - "federation/client/clientset_generated/federation_clientset/typed/autoscaling/v1", - "federation/client/clientset_generated/federation_clientset/typed/batch/v1", - "federation/client/clientset_generated/federation_clientset/typed/core/v1", - "federation/client/clientset_generated/federation_clientset/typed/extensions/v1beta1", - "federation/client/clientset_generated/federation_clientset/typed/federation/v1beta1", - "pkg/api", "pkg/api/events", - "pkg/api/helper", - "pkg/api/helper/qos", - "pkg/api/install", + "pkg/api/legacyscheme", "pkg/api/pod", "pkg/api/ref", "pkg/api/resource", "pkg/api/service", - "pkg/api/util", - "pkg/api/v1", - "pkg/api/v1/helper", - "pkg/api/v1/helper/qos", "pkg/api/v1/pod", - "pkg/api/validation", "pkg/apis/admissionregistration", "pkg/apis/admissionregistration/install", "pkg/apis/admissionregistration/v1alpha1", + "pkg/apis/admissionregistration/v1beta1", "pkg/apis/apps", "pkg/apis/apps/install", + "pkg/apis/apps/v1", "pkg/apis/apps/v1beta1", "pkg/apis/apps/v1beta2", "pkg/apis/authentication", @@ -1123,6 +1155,18 @@ "pkg/apis/componentconfig", "pkg/apis/componentconfig/install", "pkg/apis/componentconfig/v1alpha1", + "pkg/apis/core", + "pkg/apis/core/helper", + "pkg/apis/core/helper/qos", + "pkg/apis/core/install", + "pkg/apis/core/pods", + "pkg/apis/core/v1", + "pkg/apis/core/v1/helper", + "pkg/apis/core/v1/helper/qos", + "pkg/apis/core/validation", + "pkg/apis/events", + "pkg/apis/events/install", + "pkg/apis/events/v1beta1", "pkg/apis/extensions", "pkg/apis/extensions/install", "pkg/apis/extensions/v1beta1", @@ -1147,6 +1191,7 @@ "pkg/apis/storage/install", "pkg/apis/storage/util", "pkg/apis/storage/v1", + "pkg/apis/storage/v1alpha1", "pkg/apis/storage/v1beta1", "pkg/capabilities", "pkg/client/clientset_generated/internalclientset", @@ -1159,6 +1204,7 @@ "pkg/client/clientset_generated/internalclientset/typed/batch/internalversion", "pkg/client/clientset_generated/internalclientset/typed/certificates/internalversion", "pkg/client/clientset_generated/internalclientset/typed/core/internalversion", + "pkg/client/clientset_generated/internalclientset/typed/events/internalversion", "pkg/client/clientset_generated/internalclientset/typed/extensions/internalversion", "pkg/client/clientset_generated/internalclientset/typed/networking/internalversion", "pkg/client/clientset_generated/internalclientset/typed/policy/internalversion", @@ -1166,73 +1212,74 @@ "pkg/client/clientset_generated/internalclientset/typed/scheduling/internalversion", "pkg/client/clientset_generated/internalclientset/typed/settings/internalversion", "pkg/client/clientset_generated/internalclientset/typed/storage/internalversion", - "pkg/client/unversioned", + "pkg/cloudprovider", "pkg/controller", "pkg/controller/daemon", "pkg/controller/daemon/util", "pkg/controller/deployment/util", "pkg/controller/history", "pkg/controller/statefulset", + "pkg/controller/volume/events", + "pkg/controller/volume/persistentvolume", + "pkg/controller/volume/persistentvolume/metrics", "pkg/credentialprovider", "pkg/features", "pkg/fieldpath", "pkg/kubectl", + "pkg/kubectl/apps", + "pkg/kubectl/categories", + "pkg/kubectl/cmd/templates", "pkg/kubectl/cmd/util", "pkg/kubectl/cmd/util/openapi", "pkg/kubectl/cmd/util/openapi/validation", "pkg/kubectl/plugins", "pkg/kubectl/resource", + "pkg/kubectl/scheme", "pkg/kubectl/util", "pkg/kubectl/util/hash", "pkg/kubectl/util/slice", + "pkg/kubectl/util/term", + "pkg/kubectl/util/transport", "pkg/kubectl/validation", "pkg/kubelet/apis", - "pkg/kubelet/qos", "pkg/kubelet/types", "pkg/master/ports", "pkg/printers", "pkg/printers/internalversion", "pkg/registry/rbac/validation", + "pkg/scheduler/algorithm", + "pkg/scheduler/algorithm/predicates", + "pkg/scheduler/algorithm/priorities/util", + "pkg/scheduler/api", + "pkg/scheduler/schedulercache", + "pkg/scheduler/util", + "pkg/scheduler/volumebinder", "pkg/security/apparmor", "pkg/serviceaccount", "pkg/util/file", + "pkg/util/goroutinemap", + "pkg/util/goroutinemap/exponentialbackoff", "pkg/util/hash", + "pkg/util/interrupt", "pkg/util/io", "pkg/util/labels", "pkg/util/metrics", "pkg/util/mount", "pkg/util/net/sets", "pkg/util/node", + "pkg/util/nsenter", "pkg/util/parsers", "pkg/util/pointer", "pkg/util/slice", "pkg/util/taints", "pkg/version", + "pkg/volume", "pkg/volume/util", - "plugin/pkg/scheduler/algorithm", - "plugin/pkg/scheduler/algorithm/predicates", - "plugin/pkg/scheduler/algorithm/priorities/util", - "plugin/pkg/scheduler/api", - "plugin/pkg/scheduler/schedulercache", - "plugin/pkg/scheduler/util", - "staging/src/k8s.io/apimachinery/pkg/util/rand" + "pkg/volume/util/fs", + "pkg/volume/util/recyclerclient", + "pkg/volume/util/types" ] - revision = "0b9efaeb34a2fc51ff8e4d34ad9bc6375459c4a4" - version = "v1.8.0" - -[[projects]] - branch = "master" - name = "k8s.io/metrics" - packages = [ - "pkg/apis/metrics", - "pkg/apis/metrics/v1alpha1", - "pkg/apis/metrics/v1beta1", - "pkg/client/clientset_generated/clientset", - "pkg/client/clientset_generated/clientset/scheme", - "pkg/client/clientset_generated/clientset/typed/metrics/v1alpha1", - "pkg/client/clientset_generated/clientset/typed/metrics/v1beta1" - ] - revision = "78dff7e0cde05185ceedc54c32e4c769f4a4216f" + revision = "4d72b2f547934ef96196fa4d23d324136a0cc7ec" [[projects]] branch = "master" @@ -1249,6 +1296,6 @@ [solve-meta] analyzer-name = "dep" analyzer-version = 1 - inputs-digest = "019aef1b5039bd06614cc2d26508216ee0d220a7b5f5e5cb0d63a25695eeb427" + inputs-digest = "b7a0748890d10737fa30026a7eca0697c2ad9741a29c9bc47c5a5b6e4383c5cb" solver-name = "gps-cdcl" solver-version = 1 diff --git a/Gopkg.toml b/Gopkg.toml index a96a1d5..bf2cc70 100644 --- a/Gopkg.toml +++ b/Gopkg.toml @@ -25,7 +25,7 @@ [[constraint]] name = "k8s.io/helm" - version = "~v2.7.0" + version = "~v2.9.0" [[override]] name = "gopkg.in/fsnotify.v1" @@ -34,15 +34,39 @@ [[override]] name = "k8s.io/kubernetes" - version = "=v1.8.0" + branch = "release-1.10" + +[[override]] + name = "k8s.io/client-go" + version = "kubernetes-1.10.0" + +[[override]] + name = "k8s.io/api" + branch = "release-1.10" + +[[override]] + name = "k8s.io/apimachinery" + branch = "release-1.10" + +[[override]] + name = "k8s.io/apiserver" + branch = "release-1.10" + +[[override]] + name = "k8s.io/apiextensions-apiserver" + branch = "release-1.10" [[override]] name = "github.com/imdario/mergo" revision = "6633656539c1639d9d78127b7d47c622b5d7b6dc" +[[override]] + name = "github.com/russross/blackfriday" + version = "v1.4-2-g300106c" + [[override]] name = "google.golang.org/grpc" - version = "=v1.2.1" + version = "1.7.2" [[constraint]] name = "github.com/jbrukh/bayesian" diff --git a/Makefile b/Makefile index 65d98e0..facdb58 100644 --- a/Makefile +++ b/Makefile @@ -94,6 +94,5 @@ ifndef HAS_BINDATA go get github.com/jteeuwen/go-bindata/... endif dep ensure -v - scripts/setup-apimachinery.sh include versioning.mk diff --git a/pkg/storage/kube/configmap/mock_test.go b/pkg/storage/kube/configmap/mock_test.go index 61204fe..5fca60a 100644 --- a/pkg/storage/kube/configmap/mock_test.go +++ b/pkg/storage/kube/configmap/mock_test.go @@ -4,7 +4,7 @@ import ( "testing" "k8s.io/api/core/v1" - "k8s.io/kubernetes/pkg/api" + "k8s.io/apimachinery/pkg/apis/testapigroup" apierrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" @@ -64,7 +64,7 @@ func (mock *MockConfigMaps) Init(t *testing.T, entries ...struct { func (mock *MockConfigMaps) Get(name string, options metav1.GetOptions) (*v1.ConfigMap, error) { cfgmap, ok := mock.cfgmaps[name] if !ok { - return nil, apierrors.NewNotFound(api.Resource("tests"), name) + return nil, apierrors.NewNotFound(testapigroup.Resource("tests"), name) } return cfgmap, nil } @@ -73,7 +73,7 @@ func (mock *MockConfigMaps) Get(name string, options metav1.GetOptions) (*v1.Con func (mock *MockConfigMaps) Create(cfgmap *v1.ConfigMap) (*v1.ConfigMap, error) { name := cfgmap.ObjectMeta.Name if object, ok := mock.cfgmaps[name]; ok { - return object, apierrors.NewAlreadyExists(api.Resource("tests"), name) + return object, apierrors.NewAlreadyExists(testapigroup.Resource("tests"), name) } mock.cfgmaps[name] = cfgmap return cfgmap, nil @@ -89,7 +89,7 @@ func (mock *MockConfigMaps) Update(cfgmap *v1.ConfigMap) (*v1.ConfigMap, error) // Delete deletes a ConfigMap by name. func (mock *MockConfigMaps) Delete(name string, opts *metav1.DeleteOptions) error { if _, ok := mock.cfgmaps[name]; !ok { - return apierrors.NewNotFound(api.Resource("tests"), name) + return apierrors.NewNotFound(testapigroup.Resource("tests"), name) } delete(mock.cfgmaps, name) return nil diff --git a/scripts/setup-apimachinery.sh b/scripts/setup-apimachinery.sh deleted file mode 100755 index cd7df74..0000000 --- a/scripts/setup-apimachinery.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env bash - -# Copyright 2016 The Kubernetes Authors All rights reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# Copies the current versions of apimachinery and client-go out of the -# main kubernetes repo. These repos are currently out of sync and not -# versioned. -set -euo pipefail - -# ensure we're using the same package versions kubernetes is using -rm -rf ./vendor/k8s.io/{api,apimachinery,apiserver,client-go,metrics} -cp -r ./vendor/k8s.io/kubernetes/staging/src/k8s.io/{api,apimachinery,apiserver,client-go,metrics} ./vendor/k8s.io