diff --git a/hack/update-staging-godeps.sh b/hack/update-staging-godeps.sh new file mode 100755 index 00000000000..3e21feec4fa --- /dev/null +++ b/hack/update-staging-godeps.sh @@ -0,0 +1,124 @@ +#!/bin/bash + +# Copyright 2017 The Kubernetes Authors. +# +# 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. + +# updates the godeps.json file in the staging folders to allow clean vendoring +# based on kubernetes levels. +# TODO this does not address client-go, since it takes a different approach to vendoring +# TODO client-go should probably be made consistent + +set -o errexit +set -o nounset +set -o pipefail + + +KUBE_ROOT=$(dirname "${BASH_SOURCE}")/.. +source "${KUBE_ROOT}/hack/lib/init.sh" + +kube::golang::setup_env + +ORIGINAL_GOPATH="${GOPATH}" + +godepBinDir=${TMPDIR:-/tmp/}/kube-godep-bin +mkdir -p "${godepBinDir}" +godep=${godepBinDir}/bin/godep +pushd "${godepBinDir}" 2>&1 > /dev/null + # Build the godep tool + GOPATH="${godepBinDir}" + rm -rf * + go get -u github.com/tools/godep 2>/dev/null + export GODEP="${GOPATH}/bin/godep" + pin-godep() { + pushd "${GOPATH}/src/github.com/tools/godep" > /dev/null + git checkout "$1" + "${GODEP}" go install + popd > /dev/null + } + # Use to following if we ever need to pin godep to a specific version again + pin-godep 'v74' + "${godep}" version +popd 2>&1 > /dev/null + +# keep the godep restore path reasonably stable to avoid unnecessary restores +godepRestoreDir=${TMPDIR:-/tmp/}/kube-godep-restore + +TARGET_DIR=${TARGET_DIR:-${KUBE_ROOT}/staging} +echo "working in ${TARGET_DIR}" + +SKIP_RESTORE=${SKIP_RESTORE:-} +if [ "${SKIP_RESTORE}" != "true" ]; then + echo "starting godep restore" + mkdir -p "${godepRestoreDir}" + + # add the vendor folder so that we don't redownload things during restore + GOPATH="${godepRestoreDir}:${KUBE_ROOT}/staging:${ORIGINAL_GOPATH}" + # restore from kubernetes godeps to ensure we get the correct levels + # you get errors about the staging repos not using a known version control system + ${godep} restore > ${godepRestoreDir}/godep-restore.log + echo "finished godep restore" +fi + +echo "forcing fake godep folders to match the current state of master in tmp" +for stagingRepo in $(ls ${KUBE_ROOT}/staging/src/k8s.io); do + echo " creating ${stagingRepo}" + rm -rf ${godepRestoreDir}/src/k8s.io/${stagingRepo} + cp -a ${KUBE_ROOT}/staging/src/k8s.io/${stagingRepo} ${godepRestoreDir}/src/k8s.io + + # we need a git commit in the godep folder, otherwise godep won't save + pushd ${godepRestoreDir}/src/k8s.io/${stagingRepo} + git init > /dev/null + # we need this so later commands work, but nothing should ever actually include these commits + # these are local only, not global + git config user.email "you@example.com" + git config user.name "Your Name" + git add . > /dev/null + git commit -qm "fake commit" + popd +done + +function updateGodepManifest() { + local repo=${1} + + echo "starting ${repo} save" + mkdir -p ${TARGET_DIR}/src/k8s.io + # if target_dir isn't the same as source dir, you need copy + test "${KUBE_ROOT}/staging" = "${TARGET_DIR}" || cp -a ${KUBE_ROOT}/staging/src/${repo} ${TARGET_DIR}/src/k8s.io + # remove the current Godeps.json so we always rebuild it + rm -rf ${TARGET_DIR}/src/${repo}/Godeps + GOPATH="${godepRestoreDir}:${TARGET_DIR}" + pushd ${TARGET_DIR}/src/${repo} + ${godep} save ./... + + # now remove all the go files. We'll re-run a restore, go get, godep save cycle in the sync scripts + # to get the commits for other staging k8s.io repos anyway, so we don't need the added files + rm -rf vendor + + echo "rewriting Godeps.json to remove commits that don't really exist because we haven't pushed the prereqs yet" + GOPATH="${ORIGINAL_GOPATH}" + go run "${KUBE_ROOT}/staging/godeps-json-updater.go" --godeps-file="${TARGET_DIR}/src/${repo}/Godeps/Godeps.json" --client-go-import-path="${repo}" + + popd + echo "finished ${repo} save" +} + +# move into staging and save the dependencies for everything in order +for stagingRepo in $(ls ${KUBE_ROOT}/staging/src/k8s.io); do + # we have to skip client-go because it does unusual manipulation of its godeps + if [ "${stagingRepo}" == "client-go" ]; then + continue + fi + + updateGodepManifest "k8s.io/${stagingRepo}" +done diff --git a/hack/verify-staging-godeps.sh b/hack/verify-staging-godeps.sh new file mode 100755 index 00000000000..2cfa1b91cab --- /dev/null +++ b/hack/verify-staging-godeps.sh @@ -0,0 +1,49 @@ +#!/bin/bash + +# Copyright 2017 The Kubernetes Authors. +# +# 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. + +# TODO this does not address client-go, since it takes a different approach to vendoring +# TODO client-go should probably be made consistent + +set -o errexit +set -o nounset +set -o pipefail + + +KUBE_ROOT=$(dirname "${BASH_SOURCE}")/.. +source "${KUBE_ROOT}/hack/lib/init.sh" + + +TARGET_DIR=$(mktemp -d "${TMPDIR:-/tmp/}$(basename 0).XXXXXXXXXXXX") +# Register function to be called on EXIT to remove folder. +function cleanup { + SKIP_CLEANUP=${SKIP_CLEANUP:-} + if [ "${SKIP_CLEANUP}" != "true" ]; then + rm -rf "${TARGET_DIR}" + fi +} +trap cleanup EXIT + +TARGET_DIR=${TARGET_DIR} ${KUBE_ROOT}/hack/update-staging-godeps.sh + +# check each staging repo to make sure its Godeps.json is correct +for stagingRepo in $(ls ${KUBE_ROOT}/staging/src/k8s.io); do + # we have to skip client-go because it does unusual manipulation of its godeps + if [ "${stagingRepo}" == "client-go" ]; then + continue + fi + + diff --ignore-matching-lines='^\s*\"Comment\"' ${KUBE_ROOT}/staging/src/k8s.io/${stagingRepo}/Godeps/Godeps.json ${TARGET_DIR}/src/k8s.io/${stagingRepo}/Godeps/Godeps.json +done diff --git a/hack/verify-staging-imports.sh b/hack/verify-staging-imports.sh index 9a299eca312..8a4671e307b 100755 --- a/hack/verify-staging-imports.sh +++ b/hack/verify-staging-imports.sh @@ -41,10 +41,23 @@ function print_forbidden_imports () { ) if [ -n "${FORBIDDEN}" ]; then echo "${PACKAGE} has a forbidden dependency:" - echo - echo "${FORBIDDEN}" | sed 's/^/ /' - echo - return 1 + echo + echo "${FORBIDDEN}" | sed 's/^/ /' + echo + return 1 + fi + local TEST_FORBIDDEN=$( + go list -f $'{{with $package := .ImportPath}}{{range $.TestImports}}{{$package}} imports {{.}}\n{{end}}{{end}}' ./vendor/k8s.io/${PACKAGE}/... | + sed 's|^k8s.io/kubernetes/vendor/||;s| k8s.io/kubernetes/vendor/| |' | + grep -v " k8s.io/${PACKAGE}" | + grep -e "imports \(${RE}\)" + ) + if [ -n "${TEST_FORBIDDEN}" ]; then + echo "${PACKAGE} has a forbidden dependency in test code:" + echo + echo "${TEST_FORBIDDEN}" | sed 's/^/ /' + echo + return 1 fi return 0 } diff --git a/staging/godeps-json-updater.go b/staging/godeps-json-updater.go index 9b87dc93a47..d13aaf4f4d1 100644 --- a/staging/godeps-json-updater.go +++ b/staging/godeps-json-updater.go @@ -68,13 +68,7 @@ func main() { // removes the Deps whose ImportPath contains "k8s.io/kubernetes" i := 0 for _, dep := range g.Deps { - if strings.Contains(dep.ImportPath, "k8s.io/apimachinery") { - continue - } - if strings.Contains(dep.ImportPath, "k8s.io/kubernetes") { - continue - } - if strings.Contains(dep.ImportPath, "k8s.io/client-go") { + if strings.Contains(dep.ImportPath, "k8s.io/") { continue } g.Deps[i] = dep diff --git a/staging/src/k8s.io/apimachinery/Godeps/Godeps.json b/staging/src/k8s.io/apimachinery/Godeps/Godeps.json new file mode 100644 index 00000000000..9819b650fa8 --- /dev/null +++ b/staging/src/k8s.io/apimachinery/Godeps/Godeps.json @@ -0,0 +1,181 @@ +{ + "ImportPath": "k8s.io/apimachinery", + "GoVersion": "go1.7", + "GodepVersion": "v74", + "Packages": [ + "./..." + ], + "Deps": [ + { + "ImportPath": "github.com/PuerkitoBio/purell", + "Comment": "v1.0.0", + "Rev": "8a290539e2e8629dbc4e6bad948158f790ec31f4" + }, + { + "ImportPath": "github.com/PuerkitoBio/urlesc", + "Rev": "5bd2802263f21d8788851d5305584c82a5c75d7e" + }, + { + "ImportPath": "github.com/davecgh/go-spew/spew", + "Rev": "5215b55f46b2b919f50a1df0eaa5886afe4e3b3d" + }, + { + "ImportPath": "github.com/docker/spdystream", + "Rev": "449fdfce4d962303d702fec724ef0ad181c92528" + }, + { + "ImportPath": "github.com/docker/spdystream/spdy", + "Rev": "449fdfce4d962303d702fec724ef0ad181c92528" + }, + { + "ImportPath": "github.com/elazarl/goproxy", + "Comment": "v1.0-66-g07b16b6", + "Rev": "07b16b6e30fcac0ad8c0435548e743bcf2ca7e92" + }, + { + "ImportPath": "github.com/emicklei/go-restful", + "Comment": "v1.2-96-g09691a3", + "Rev": "09691a3b6378b740595c1002f40c34dd5f218a22" + }, + { + "ImportPath": "github.com/emicklei/go-restful/log", + "Comment": "v1.2-96-g09691a3", + "Rev": "09691a3b6378b740595c1002f40c34dd5f218a22" + }, + { + "ImportPath": "github.com/evanphx/json-patch", + "Rev": "465937c80b3c07a7c7ad20cc934898646a91c1de" + }, + { + "ImportPath": "github.com/ghodss/yaml", + "Rev": "73d445a93680fa1a78ae23a5839bad48f32ba1ee" + }, + { + "ImportPath": "github.com/go-openapi/jsonpointer", + "Rev": "46af16f9f7b149af66e5d1bd010e3574dc06de98" + }, + { + "ImportPath": "github.com/go-openapi/jsonreference", + "Rev": "13c6e3589ad90f49bd3e3bbe2c2cb3d7a4142272" + }, + { + "ImportPath": "github.com/go-openapi/spec", + "Rev": "6aced65f8501fe1217321abf0749d354824ba2ff" + }, + { + "ImportPath": "github.com/go-openapi/swag", + "Rev": "1d0bd113de87027671077d3c71eb3ac5d7dbba72" + }, + { + "ImportPath": "github.com/gogo/protobuf/proto", + "Comment": "v0.2-33-ge18d7aa8", + "Rev": "e18d7aa8f8c624c915db340349aad4c49b10d173" + }, + { + "ImportPath": "github.com/gogo/protobuf/sortkeys", + "Comment": "v0.2-33-ge18d7aa8", + "Rev": "e18d7aa8f8c624c915db340349aad4c49b10d173" + }, + { + "ImportPath": "github.com/golang/glog", + "Rev": "44145f04b68cf362d9c4df2182967c2275eaefed" + }, + { + "ImportPath": "github.com/golang/protobuf/proto", + "Rev": "8616e8ee5e20a1704615e6c8d7afcdac06087a67" + }, + { + "ImportPath": "github.com/google/gofuzz", + "Rev": "44d81051d367757e1c7c6a5a86423ece9afcf63c" + }, + { + "ImportPath": "github.com/mailru/easyjson/buffer", + "Rev": "d5b7844b561a7bc640052f1b935f7b800330d7e0" + }, + { + "ImportPath": "github.com/mailru/easyjson/jlexer", + "Rev": "d5b7844b561a7bc640052f1b935f7b800330d7e0" + }, + { + "ImportPath": "github.com/mailru/easyjson/jwriter", + "Rev": "d5b7844b561a7bc640052f1b935f7b800330d7e0" + }, + { + "ImportPath": "github.com/pborman/uuid", + "Rev": "ca53cad383cad2479bbba7f7a1a05797ec1386e4" + }, + { + "ImportPath": "github.com/spf13/pflag", + "Rev": "5ccb023bc27df288a957c5e994cd44fd19619465" + }, + { + "ImportPath": "github.com/ugorji/go/codec", + "Rev": "ded73eae5db7e7a0ef6f55aace87a2873c5d2b74" + }, + { + "ImportPath": "golang.org/x/net/http2", + "Rev": "e90d6d0afc4c315a0d87a568ae68577cc15149a0" + }, + { + "ImportPath": "golang.org/x/net/http2/hpack", + "Rev": "e90d6d0afc4c315a0d87a568ae68577cc15149a0" + }, + { + "ImportPath": "golang.org/x/net/idna", + "Rev": "e90d6d0afc4c315a0d87a568ae68577cc15149a0" + }, + { + "ImportPath": "golang.org/x/net/lex/httplex", + "Rev": "e90d6d0afc4c315a0d87a568ae68577cc15149a0" + }, + { + "ImportPath": "golang.org/x/text/cases", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "golang.org/x/text/internal/tag", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "golang.org/x/text/language", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "golang.org/x/text/runes", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "golang.org/x/text/secure/bidirule", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "golang.org/x/text/secure/precis", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "golang.org/x/text/transform", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "golang.org/x/text/unicode/bidi", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "golang.org/x/text/unicode/norm", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "golang.org/x/text/width", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "gopkg.in/inf.v0", + "Comment": "v0.9.0", + "Rev": "3887ee99ecf07df5b447e9b00d9c0b2adaa9f3e4" + }, + { + "ImportPath": "gopkg.in/yaml.v2", + "Rev": "53feefa2559fb8dfa8d81baad31be332c97d6c77" + } + ] +} diff --git a/staging/src/k8s.io/apimachinery/Godeps/Readme b/staging/src/k8s.io/apimachinery/Godeps/Readme new file mode 100644 index 00000000000..4cdaa53d56d --- /dev/null +++ b/staging/src/k8s.io/apimachinery/Godeps/Readme @@ -0,0 +1,5 @@ +This directory tree is generated automatically by godep. + +Please do not edit. + +See https://github.com/tools/godep for more information. diff --git a/staging/src/k8s.io/apiserver/Godeps/Godeps.json b/staging/src/k8s.io/apiserver/Godeps/Godeps.json new file mode 100644 index 00000000000..fb05a28ed6c --- /dev/null +++ b/staging/src/k8s.io/apiserver/Godeps/Godeps.json @@ -0,0 +1,796 @@ +{ + "ImportPath": "k8s.io/apiserver", + "GoVersion": "go1.7", + "GodepVersion": "v74", + "Packages": [ + "./..." + ], + "Deps": [ + { + "ImportPath": "bitbucket.org/ww/goautoneg", + "Comment": "null-5", + "Rev": "'75cd24fc2f2c2a2088577d12123ddee5f54e0675'" + }, + { + "ImportPath": "cloud.google.com/go/compute/metadata", + "Comment": "v0.1.0-115-g3b1ae45", + "Rev": "3b1ae45394a234c385be014e9a488f2bb6eef821" + }, + { + "ImportPath": "cloud.google.com/go/internal", + "Comment": "v0.1.0-115-g3b1ae45", + "Rev": "3b1ae45394a234c385be014e9a488f2bb6eef821" + }, + { + "ImportPath": "github.com/PuerkitoBio/purell", + "Comment": "v1.0.0", + "Rev": "8a290539e2e8629dbc4e6bad948158f790ec31f4" + }, + { + "ImportPath": "github.com/PuerkitoBio/urlesc", + "Rev": "5bd2802263f21d8788851d5305584c82a5c75d7e" + }, + { + "ImportPath": "github.com/beorn7/perks/quantile", + "Rev": "3ac7bf7a47d159a033b107610db8a1b6575507a4" + }, + { + "ImportPath": "github.com/boltdb/bolt", + "Comment": "v1.2.1", + "Rev": "dfb21201d9270c1082d5fb0f07f500311ff72f18" + }, + { + "ImportPath": "github.com/coreos/etcd/alarm", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/auth", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/auth/authpb", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/client", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/clientv3", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/compactor", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/discovery", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/error", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/etcdserver", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/etcdserver/api", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/etcdserver/api/v2http", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/etcdserver/api/v2http/httptypes", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/etcdserver/api/v3rpc", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/etcdserver/api/v3rpc/rpctypes", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/etcdserver/auth", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/etcdserver/etcdserverpb", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/etcdserver/membership", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/etcdserver/stats", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/integration", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/lease", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/lease/leasehttp", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/lease/leasepb", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/mvcc", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/mvcc/backend", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/mvcc/mvccpb", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/pkg/adt", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/pkg/contention", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/pkg/crc", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/pkg/fileutil", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/pkg/httputil", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/pkg/idutil", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/pkg/ioutil", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/pkg/logutil", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/pkg/netutil", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/pkg/pathutil", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/pkg/pbutil", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/pkg/runtime", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/pkg/schedule", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/pkg/testutil", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/pkg/tlsutil", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/pkg/transport", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/pkg/types", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/pkg/wait", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/raft", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/raft/raftpb", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/rafthttp", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/snap", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/snap/snappb", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/store", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/version", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/wal", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/wal/walpb", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/go-oidc/http", + "Rev": "5644a2f50e2d2d5ba0b474bc5bc55fea1925936d" + }, + { + "ImportPath": "github.com/coreos/go-oidc/jose", + "Rev": "5644a2f50e2d2d5ba0b474bc5bc55fea1925936d" + }, + { + "ImportPath": "github.com/coreos/go-oidc/key", + "Rev": "5644a2f50e2d2d5ba0b474bc5bc55fea1925936d" + }, + { + "ImportPath": "github.com/coreos/go-oidc/oauth2", + "Rev": "5644a2f50e2d2d5ba0b474bc5bc55fea1925936d" + }, + { + "ImportPath": "github.com/coreos/go-oidc/oidc", + "Rev": "5644a2f50e2d2d5ba0b474bc5bc55fea1925936d" + }, + { + "ImportPath": "github.com/coreos/go-semver/semver", + "Rev": "568e959cd89871e61434c1143528d9162da89ef2" + }, + { + "ImportPath": "github.com/coreos/go-systemd/daemon", + "Comment": "v8-2-g4484981", + "Rev": "4484981625c1a6a2ecb40a390fcb6a9bcfee76e3" + }, + { + "ImportPath": "github.com/coreos/go-systemd/journal", + "Comment": "v8-2-g4484981", + "Rev": "4484981625c1a6a2ecb40a390fcb6a9bcfee76e3" + }, + { + "ImportPath": "github.com/coreos/pkg/capnslog", + "Comment": "v2-8-gfa29b1d", + "Rev": "fa29b1d70f0beaddd4c7021607cc3c3be8ce94b8" + }, + { + "ImportPath": "github.com/coreos/pkg/health", + "Comment": "v2-8-gfa29b1d", + "Rev": "fa29b1d70f0beaddd4c7021607cc3c3be8ce94b8" + }, + { + "ImportPath": "github.com/coreos/pkg/httputil", + "Comment": "v2-8-gfa29b1d", + "Rev": "fa29b1d70f0beaddd4c7021607cc3c3be8ce94b8" + }, + { + "ImportPath": "github.com/coreos/pkg/timeutil", + "Comment": "v2-8-gfa29b1d", + "Rev": "fa29b1d70f0beaddd4c7021607cc3c3be8ce94b8" + }, + { + "ImportPath": "github.com/davecgh/go-spew/spew", + "Rev": "5215b55f46b2b919f50a1df0eaa5886afe4e3b3d" + }, + { + "ImportPath": "github.com/docker/distribution/digest", + "Comment": "v2.4.0-rc.1-38-gcd27f179", + "Rev": "cd27f179f2c10c5d300e6d09025b538c475b0d51" + }, + { + "ImportPath": "github.com/docker/distribution/reference", + "Comment": "v2.4.0-rc.1-38-gcd27f179", + "Rev": "cd27f179f2c10c5d300e6d09025b538c475b0d51" + }, + { + "ImportPath": "github.com/elazarl/go-bindata-assetfs", + "Rev": "3dcc96556217539f50599357fb481ac0dc7439b9" + }, + { + "ImportPath": "github.com/emicklei/go-restful", + "Comment": "v1.2-96-g09691a3", + "Rev": "09691a3b6378b740595c1002f40c34dd5f218a22" + }, + { + "ImportPath": "github.com/emicklei/go-restful/log", + "Comment": "v1.2-96-g09691a3", + "Rev": "09691a3b6378b740595c1002f40c34dd5f218a22" + }, + { + "ImportPath": "github.com/emicklei/go-restful/swagger", + "Comment": "v1.2-96-g09691a3", + "Rev": "09691a3b6378b740595c1002f40c34dd5f218a22" + }, + { + "ImportPath": "github.com/evanphx/json-patch", + "Rev": "465937c80b3c07a7c7ad20cc934898646a91c1de" + }, + { + "ImportPath": "github.com/ghodss/yaml", + "Rev": "73d445a93680fa1a78ae23a5839bad48f32ba1ee" + }, + { + "ImportPath": "github.com/go-openapi/jsonpointer", + "Rev": "46af16f9f7b149af66e5d1bd010e3574dc06de98" + }, + { + "ImportPath": "github.com/go-openapi/jsonreference", + "Rev": "13c6e3589ad90f49bd3e3bbe2c2cb3d7a4142272" + }, + { + "ImportPath": "github.com/go-openapi/spec", + "Rev": "6aced65f8501fe1217321abf0749d354824ba2ff" + }, + { + "ImportPath": "github.com/go-openapi/swag", + "Rev": "1d0bd113de87027671077d3c71eb3ac5d7dbba72" + }, + { + "ImportPath": "github.com/gogo/protobuf/proto", + "Comment": "v0.2-33-ge18d7aa8", + "Rev": "e18d7aa8f8c624c915db340349aad4c49b10d173" + }, + { + "ImportPath": "github.com/gogo/protobuf/sortkeys", + "Comment": "v0.2-33-ge18d7aa8", + "Rev": "e18d7aa8f8c624c915db340349aad4c49b10d173" + }, + { + "ImportPath": "github.com/golang/glog", + "Rev": "44145f04b68cf362d9c4df2182967c2275eaefed" + }, + { + "ImportPath": "github.com/golang/groupcache/lru", + "Rev": "02826c3e79038b59d737d3b1c0a1d937f71a4433" + }, + { + "ImportPath": "github.com/golang/protobuf/jsonpb", + "Rev": "8616e8ee5e20a1704615e6c8d7afcdac06087a67" + }, + { + "ImportPath": "github.com/golang/protobuf/proto", + "Rev": "8616e8ee5e20a1704615e6c8d7afcdac06087a67" + }, + { + "ImportPath": "github.com/google/btree", + "Rev": "7d79101e329e5a3adf994758c578dab82b90c017" + }, + { + "ImportPath": "github.com/google/gofuzz", + "Rev": "44d81051d367757e1c7c6a5a86423ece9afcf63c" + }, + { + "ImportPath": "github.com/gophercloud/gophercloud", + "Rev": "12f19e5e04d617182cffa5c11f189ef0013b9791" + }, + { + "ImportPath": "github.com/gophercloud/gophercloud/openstack", + "Rev": "12f19e5e04d617182cffa5c11f189ef0013b9791" + }, + { + "ImportPath": "github.com/gophercloud/gophercloud/openstack/identity/v2/tenants", + "Rev": "12f19e5e04d617182cffa5c11f189ef0013b9791" + }, + { + "ImportPath": "github.com/gophercloud/gophercloud/openstack/identity/v2/tokens", + "Rev": "12f19e5e04d617182cffa5c11f189ef0013b9791" + }, + { + "ImportPath": "github.com/gophercloud/gophercloud/openstack/identity/v3/tokens", + "Rev": "12f19e5e04d617182cffa5c11f189ef0013b9791" + }, + { + "ImportPath": "github.com/gophercloud/gophercloud/openstack/utils", + "Rev": "12f19e5e04d617182cffa5c11f189ef0013b9791" + }, + { + "ImportPath": "github.com/gophercloud/gophercloud/pagination", + "Rev": "12f19e5e04d617182cffa5c11f189ef0013b9791" + }, + { + "ImportPath": "github.com/grpc-ecosystem/grpc-gateway/runtime", + "Comment": "v1.0.0-8-gf52d055", + "Rev": "f52d055dc48aec25854ed7d31862f78913cf17d1" + }, + { + "ImportPath": "github.com/grpc-ecosystem/grpc-gateway/runtime/internal", + "Comment": "v1.0.0-8-gf52d055", + "Rev": "f52d055dc48aec25854ed7d31862f78913cf17d1" + }, + { + "ImportPath": "github.com/grpc-ecosystem/grpc-gateway/utilities", + "Comment": "v1.0.0-8-gf52d055", + "Rev": "f52d055dc48aec25854ed7d31862f78913cf17d1" + }, + { + "ImportPath": "github.com/howeyc/gopass", + "Rev": "3ca23474a7c7203e0a0a070fd33508f6efdb9b3d" + }, + { + "ImportPath": "github.com/imdario/mergo", + "Comment": "0.1.3-8-g6633656", + "Rev": "6633656539c1639d9d78127b7d47c622b5d7b6dc" + }, + { + "ImportPath": "github.com/jonboulle/clockwork", + "Rev": "72f9bd7c4e0c2a40055ab3d0f09654f730cce982" + }, + { + "ImportPath": "github.com/juju/ratelimit", + "Rev": "77ed1c8a01217656d2080ad51981f6e99adaa177" + }, + { + "ImportPath": "github.com/mailru/easyjson/buffer", + "Rev": "d5b7844b561a7bc640052f1b935f7b800330d7e0" + }, + { + "ImportPath": "github.com/mailru/easyjson/jlexer", + "Rev": "d5b7844b561a7bc640052f1b935f7b800330d7e0" + }, + { + "ImportPath": "github.com/mailru/easyjson/jwriter", + "Rev": "d5b7844b561a7bc640052f1b935f7b800330d7e0" + }, + { + "ImportPath": "github.com/matttproud/golang_protobuf_extensions/pbutil", + "Rev": "fc2b8d3a73c4867e51861bbdd5ae3c1f0869dd6a" + }, + { + "ImportPath": "github.com/mxk/go-flowrate/flowrate", + "Rev": "cca7078d478f8520f85629ad7c68962d31ed7682" + }, + { + "ImportPath": "github.com/pborman/uuid", + "Rev": "ca53cad383cad2479bbba7f7a1a05797ec1386e4" + }, + { + "ImportPath": "github.com/pkg/errors", + "Comment": "v0.7.0-13-ga221380", + "Rev": "a22138067af1c4942683050411a841ade67fe1eb" + }, + { + "ImportPath": "github.com/pmezard/go-difflib/difflib", + "Rev": "d8ed2627bdf02c080bf22230dbb337003b7aba2d" + }, + { + "ImportPath": "github.com/prometheus/client_golang/prometheus", + "Comment": "0.7.0-52-ge51041b", + "Rev": "e51041b3fa41cece0dca035740ba6411905be473" + }, + { + "ImportPath": "github.com/prometheus/client_model/go", + "Comment": "model-0.0.2-12-gfa8ad6f", + "Rev": "fa8ad6fec33561be4280a8f0514318c79d7f6cb6" + }, + { + "ImportPath": "github.com/prometheus/common/expfmt", + "Rev": "ffe929a3f4c4faeaa10f2b9535c2b1be3ad15650" + }, + { + "ImportPath": "github.com/prometheus/common/model", + "Rev": "ffe929a3f4c4faeaa10f2b9535c2b1be3ad15650" + }, + { + "ImportPath": "github.com/prometheus/procfs", + "Rev": "454a56f35412459b5e684fd5ec0f9211b94f002a" + }, + { + "ImportPath": "github.com/spf13/pflag", + "Rev": "5ccb023bc27df288a957c5e994cd44fd19619465" + }, + { + "ImportPath": "github.com/stretchr/testify/assert", + "Comment": "v1.0-88-ge3a8ff8", + "Rev": "e3a8ff8ce36581f87a15341206f205b1da467059" + }, + { + "ImportPath": "github.com/stretchr/testify/require", + "Comment": "v1.0-88-ge3a8ff8", + "Rev": "e3a8ff8ce36581f87a15341206f205b1da467059" + }, + { + "ImportPath": "github.com/ugorji/go/codec", + "Rev": "ded73eae5db7e7a0ef6f55aace87a2873c5d2b74" + }, + { + "ImportPath": "github.com/xiang90/probing", + "Rev": "07dd2e8dfe18522e9c447ba95f2fe95262f63bb2" + }, + { + "ImportPath": "golang.org/x/crypto/bcrypt", + "Rev": "d172538b2cfce0c13cee31e647d0367aa8cd2486" + }, + { + "ImportPath": "golang.org/x/crypto/blowfish", + "Rev": "d172538b2cfce0c13cee31e647d0367aa8cd2486" + }, + { + "ImportPath": "golang.org/x/crypto/ssh/terminal", + "Rev": "d172538b2cfce0c13cee31e647d0367aa8cd2486" + }, + { + "ImportPath": "golang.org/x/net/context", + "Rev": "e90d6d0afc4c315a0d87a568ae68577cc15149a0" + }, + { + "ImportPath": "golang.org/x/net/context/ctxhttp", + "Rev": "e90d6d0afc4c315a0d87a568ae68577cc15149a0" + }, + { + "ImportPath": "golang.org/x/net/html", + "Rev": "e90d6d0afc4c315a0d87a568ae68577cc15149a0" + }, + { + "ImportPath": "golang.org/x/net/html/atom", + "Rev": "e90d6d0afc4c315a0d87a568ae68577cc15149a0" + }, + { + "ImportPath": "golang.org/x/net/http2", + "Rev": "e90d6d0afc4c315a0d87a568ae68577cc15149a0" + }, + { + "ImportPath": "golang.org/x/net/http2/hpack", + "Rev": "e90d6d0afc4c315a0d87a568ae68577cc15149a0" + }, + { + "ImportPath": "golang.org/x/net/idna", + "Rev": "e90d6d0afc4c315a0d87a568ae68577cc15149a0" + }, + { + "ImportPath": "golang.org/x/net/internal/timeseries", + "Rev": "e90d6d0afc4c315a0d87a568ae68577cc15149a0" + }, + { + "ImportPath": "golang.org/x/net/lex/httplex", + "Rev": "e90d6d0afc4c315a0d87a568ae68577cc15149a0" + }, + { + "ImportPath": "golang.org/x/net/trace", + "Rev": "e90d6d0afc4c315a0d87a568ae68577cc15149a0" + }, + { + "ImportPath": "golang.org/x/net/websocket", + "Rev": "e90d6d0afc4c315a0d87a568ae68577cc15149a0" + }, + { + "ImportPath": "golang.org/x/oauth2", + "Rev": "3c3a985cb79f52a3190fbc056984415ca6763d01" + }, + { + "ImportPath": "golang.org/x/oauth2/google", + "Rev": "3c3a985cb79f52a3190fbc056984415ca6763d01" + }, + { + "ImportPath": "golang.org/x/oauth2/internal", + "Rev": "3c3a985cb79f52a3190fbc056984415ca6763d01" + }, + { + "ImportPath": "golang.org/x/oauth2/jws", + "Rev": "3c3a985cb79f52a3190fbc056984415ca6763d01" + }, + { + "ImportPath": "golang.org/x/oauth2/jwt", + "Rev": "3c3a985cb79f52a3190fbc056984415ca6763d01" + }, + { + "ImportPath": "golang.org/x/sys/unix", + "Rev": "8f0908ab3b2457e2e15403d3697c9ef5cb4b57a9" + }, + { + "ImportPath": "golang.org/x/text/cases", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "golang.org/x/text/internal/tag", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "golang.org/x/text/language", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "golang.org/x/text/runes", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "golang.org/x/text/secure/bidirule", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "golang.org/x/text/secure/precis", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "golang.org/x/text/transform", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "golang.org/x/text/unicode/bidi", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "golang.org/x/text/unicode/norm", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "golang.org/x/text/width", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "google.golang.org/appengine", + "Rev": "4f7eeb5305a4ba1966344836ba4af9996b7b4e05" + }, + { + "ImportPath": "google.golang.org/appengine/internal", + "Rev": "4f7eeb5305a4ba1966344836ba4af9996b7b4e05" + }, + { + "ImportPath": "google.golang.org/appengine/internal/app_identity", + "Rev": "4f7eeb5305a4ba1966344836ba4af9996b7b4e05" + }, + { + "ImportPath": "google.golang.org/appengine/internal/base", + "Rev": "4f7eeb5305a4ba1966344836ba4af9996b7b4e05" + }, + { + "ImportPath": "google.golang.org/appengine/internal/datastore", + "Rev": "4f7eeb5305a4ba1966344836ba4af9996b7b4e05" + }, + { + "ImportPath": "google.golang.org/appengine/internal/log", + "Rev": "4f7eeb5305a4ba1966344836ba4af9996b7b4e05" + }, + { + "ImportPath": "google.golang.org/appengine/internal/modules", + "Rev": "4f7eeb5305a4ba1966344836ba4af9996b7b4e05" + }, + { + "ImportPath": "google.golang.org/appengine/internal/remote_api", + "Rev": "4f7eeb5305a4ba1966344836ba4af9996b7b4e05" + }, + { + "ImportPath": "google.golang.org/grpc", + "Comment": "v1.0.0-183-g231b4cf", + "Rev": "231b4cfea0e79843053a33f5fe90bd4d84b23cd3" + }, + { + "ImportPath": "google.golang.org/grpc/codes", + "Comment": "v1.0.0-183-g231b4cf", + "Rev": "231b4cfea0e79843053a33f5fe90bd4d84b23cd3" + }, + { + "ImportPath": "google.golang.org/grpc/credentials", + "Comment": "v1.0.0-183-g231b4cf", + "Rev": "231b4cfea0e79843053a33f5fe90bd4d84b23cd3" + }, + { + "ImportPath": "google.golang.org/grpc/grpclog", + "Comment": "v1.0.0-183-g231b4cf", + "Rev": "231b4cfea0e79843053a33f5fe90bd4d84b23cd3" + }, + { + "ImportPath": "google.golang.org/grpc/internal", + "Comment": "v1.0.0-183-g231b4cf", + "Rev": "231b4cfea0e79843053a33f5fe90bd4d84b23cd3" + }, + { + "ImportPath": "google.golang.org/grpc/metadata", + "Comment": "v1.0.0-183-g231b4cf", + "Rev": "231b4cfea0e79843053a33f5fe90bd4d84b23cd3" + }, + { + "ImportPath": "google.golang.org/grpc/naming", + "Comment": "v1.0.0-183-g231b4cf", + "Rev": "231b4cfea0e79843053a33f5fe90bd4d84b23cd3" + }, + { + "ImportPath": "google.golang.org/grpc/peer", + "Comment": "v1.0.0-183-g231b4cf", + "Rev": "231b4cfea0e79843053a33f5fe90bd4d84b23cd3" + }, + { + "ImportPath": "google.golang.org/grpc/transport", + "Comment": "v1.0.0-183-g231b4cf", + "Rev": "231b4cfea0e79843053a33f5fe90bd4d84b23cd3" + }, + { + "ImportPath": "gopkg.in/inf.v0", + "Comment": "v0.9.0", + "Rev": "3887ee99ecf07df5b447e9b00d9c0b2adaa9f3e4" + }, + { + "ImportPath": "gopkg.in/natefinch/lumberjack.v2", + "Comment": "v1.0-16-g20b71e5", + "Rev": "20b71e5b60d756d3d2f80def009790325acc2b23" + }, + { + "ImportPath": "gopkg.in/yaml.v2", + "Rev": "53feefa2559fb8dfa8d81baad31be332c97d6c77" + } + ] +} diff --git a/staging/src/k8s.io/apiserver/Godeps/Readme b/staging/src/k8s.io/apiserver/Godeps/Readme new file mode 100644 index 00000000000..4cdaa53d56d --- /dev/null +++ b/staging/src/k8s.io/apiserver/Godeps/Readme @@ -0,0 +1,5 @@ +This directory tree is generated automatically by godep. + +Please do not edit. + +See https://github.com/tools/godep for more information. diff --git a/staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go b/staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go index 55571975068..f52e7daa7da 100644 --- a/staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go +++ b/staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go @@ -59,10 +59,30 @@ import ( "k8s.io/apiserver/pkg/endpoints/request" genericapitesting "k8s.io/apiserver/pkg/endpoints/testing" "k8s.io/apiserver/pkg/registry/rest" - "k8s.io/kubernetes/plugin/pkg/admission/admit" - "k8s.io/kubernetes/plugin/pkg/admission/deny" ) +// alwaysAdmit is an implementation of admission.Interface which always says yes to an admit request. +// It is useful in tests and when using kubernetes in an open manner. +type alwaysAdmit struct{} + +func (alwaysAdmit) Admit(a admission.Attributes) (err error) { + return nil +} + +func (alwaysAdmit) Handles(operation admission.Operation) bool { + return true +} + +type alwaysDeny struct{} + +func (alwaysDeny) Admit(a admission.Attributes) (err error) { + return admission.NewForbidden(a, errors.New("Admission control is denying all modifications")) +} + +func (alwaysDeny) Handles(operation admission.Operation) bool { + return true +} + // This creates fake API versions, similar to api/latest.go. var testAPIGroup = "test.group" var testAPIGroup2 = "test.group2" @@ -207,7 +227,7 @@ func init() { mapper = nsMapper namespaceMapper = nsMapper - admissionControl = admit.NewAlwaysAdmit() + admissionControl = alwaysAdmit{} requestContextMapper = request.NewRequestContextMapper() scheme.AddFieldLabelConversionFunc(grouplessGroupVersion.String(), "Simple", @@ -240,7 +260,7 @@ func handle(storage map[string]rest.Storage) http.Handler { // tests with a deny admission controller func handleDeny(storage map[string]rest.Storage) http.Handler { - return handleInternal(storage, deny.NewAlwaysDeny(), selfLinker) + return handleInternal(storage, alwaysDeny{}, selfLinker) } // tests using the new namespace scope mechanism @@ -2991,7 +3011,7 @@ func TestCreateInvokesAdmissionControl(t *testing.T) { namespace: "other", expectedSet: "/" + prefix + "/" + testGroupVersion.Group + "/" + testGroupVersion.Version + "/namespaces/other/foo/bar", } - handler := handleInternal(map[string]rest.Storage{"foo": &storage}, deny.NewAlwaysDeny(), selfLinker) + handler := handleInternal(map[string]rest.Storage{"foo": &storage}, alwaysDeny{}, selfLinker) server := httptest.NewServer(handler) defer server.Close() client := http.Client{} diff --git a/staging/src/k8s.io/apiserver/pkg/endpoints/filters/authorization_test.go b/staging/src/k8s.io/apiserver/pkg/endpoints/filters/authorization_test.go index cc6c11a225b..58c5876d522 100644 --- a/staging/src/k8s.io/apiserver/pkg/endpoints/filters/authorization_test.go +++ b/staging/src/k8s.io/apiserver/pkg/endpoints/filters/authorization_test.go @@ -26,7 +26,7 @@ import ( "k8s.io/apiserver/pkg/authorization/authorizer" "k8s.io/apiserver/pkg/endpoints/handlers/responsewriters" "k8s.io/apiserver/pkg/endpoints/request" - "k8s.io/kubernetes/pkg/apis/batch" + "k8s.io/client-go/pkg/apis/batch" ) func TestGetAuthorizerAttributes(t *testing.T) { diff --git a/staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest_test.go b/staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest_test.go index cf7e317f1ea..10354d7d38c 100644 --- a/staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest_test.go +++ b/staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest_test.go @@ -36,9 +36,11 @@ import ( "k8s.io/apimachinery/pkg/util/strategicpatch" "k8s.io/apiserver/pkg/endpoints/request" "k8s.io/apiserver/pkg/registry/rest" - "k8s.io/kubernetes/pkg/api" - "k8s.io/kubernetes/pkg/api/testapi" - "k8s.io/kubernetes/pkg/api/v1" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/v1" + + // need to register pods + _ "k8s.io/client-go/pkg/api/install" ) type testPatchType struct { @@ -182,7 +184,7 @@ func (tc *patchTestCase) Run(t *testing.T) { namespace := tc.startingPod.Namespace name := tc.startingPod.Name - codec := testapi.Default.Codec() + codec := api.Codecs.LegacyCodec(schema.GroupVersion{Version: "v1"}) admit := tc.admit if admit == nil { admit = func(updatedObject runtime.Object, currentObject runtime.Object) error { diff --git a/staging/src/k8s.io/apiserver/pkg/endpoints/installer_test.go b/staging/src/k8s.io/apiserver/pkg/endpoints/installer_test.go index 9f8fdd47d2e..f8fce2dd588 100644 --- a/staging/src/k8s.io/apiserver/pkg/endpoints/installer_test.go +++ b/staging/src/k8s.io/apiserver/pkg/endpoints/installer_test.go @@ -22,7 +22,7 @@ import ( "k8s.io/apimachinery/pkg/api/meta" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/kubernetes/pkg/api" + "k8s.io/client-go/pkg/api" "github.com/emicklei/go-restful" ) diff --git a/staging/src/k8s.io/apiserver/pkg/registry/generic/rest/response_checker_test.go b/staging/src/k8s.io/apiserver/pkg/registry/generic/rest/response_checker_test.go index 59139afcae4..dde44ec9a37 100644 --- a/staging/src/k8s.io/apiserver/pkg/registry/generic/rest/response_checker_test.go +++ b/staging/src/k8s.io/apiserver/pkg/registry/generic/rest/response_checker_test.go @@ -26,7 +26,7 @@ import ( "testing" "k8s.io/apimachinery/pkg/api/errors" - "k8s.io/kubernetes/pkg/api" + "k8s.io/client-go/pkg/api" ) func TestGenericHttpResponseChecker(t *testing.T) { diff --git a/staging/src/k8s.io/apiserver/pkg/server/genericapiserver_test.go b/staging/src/k8s.io/apiserver/pkg/server/genericapiserver_test.go index 7bba047f49e..6aea39ae520 100644 --- a/staging/src/k8s.io/apiserver/pkg/server/genericapiserver_test.go +++ b/staging/src/k8s.io/apiserver/pkg/server/genericapiserver_test.go @@ -29,12 +29,13 @@ import ( "testing" "time" - "github.com/go-openapi/spec" + // "github.com/go-openapi/spec" "github.com/stretchr/testify/assert" "k8s.io/apimachinery/pkg/api/meta" "k8s.io/apimachinery/pkg/apimachinery" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/openapi" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apimachinery/pkg/runtime/serializer" @@ -48,9 +49,7 @@ import ( genericapirequest "k8s.io/apiserver/pkg/endpoints/request" "k8s.io/apiserver/pkg/registry/rest" etcdtesting "k8s.io/apiserver/pkg/storage/etcd/testing" - "k8s.io/client-go/pkg/api" restclient "k8s.io/client-go/rest" - openapigen "k8s.io/kubernetes/pkg/generated/openapi" ) const ( @@ -78,6 +77,10 @@ func init() { examplev1.AddToScheme(scheme) } +func testGetOpenAPIDefinitions(ref openapi.ReferenceCallback) map[string]openapi.OpenAPIDefinition { + return map[string]openapi.OpenAPIDefinition{} +} + // setUp is a convience function for setting up for (most) tests. func setUp(t *testing.T) (*etcdtesting.EtcdTestServer, Config, *assert.Assertions) { etcdServer, _ := etcdtesting.NewUnsecuredEtcd3TestClientServer(t, scheme) @@ -88,13 +91,14 @@ func setUp(t *testing.T) (*etcdtesting.EtcdTestServer, Config, *assert.Assertion config.LegacyAPIGroupPrefixes = sets.NewString("/api") config.LoopbackClientConfig = &restclient.Config{} - config.OpenAPIConfig = DefaultOpenAPIConfig(openapigen.GetOpenAPIDefinitions, api.Scheme) - config.OpenAPIConfig.Info = &spec.Info{ - InfoProps: spec.InfoProps{ - Title: "Kubernetes", - Version: "unversioned", - }, - } + // TODO restore this test, but right now, eliminate our cycle + // config.OpenAPIConfig = DefaultOpenAPIConfig(testGetOpenAPIDefinitions, runtime.NewScheme()) + // config.OpenAPIConfig.Info = &spec.Info{ + // InfoProps: spec.InfoProps{ + // Title: "Kubernetes", + // Version: "unversioned", + // }, + // } config.SwaggerConfig = DefaultSwaggerConfig() return etcdServer, *config, assert.New(t) @@ -297,7 +301,7 @@ func TestPrepareRun(t *testing.T) { defer etcdserver.Terminate(t) assert.NotNil(config.SwaggerConfig) - assert.NotNil(config.OpenAPIConfig) + // assert.NotNil(config.OpenAPIConfig) server := httptest.NewServer(s.HandlerContainer.ServeMux) defer server.Close() @@ -305,12 +309,12 @@ func TestPrepareRun(t *testing.T) { s.PrepareRun() // openapi is installed in PrepareRun - resp, err := http.Get(server.URL + "/swagger.json") - assert.NoError(err) - assert.Equal(http.StatusOK, resp.StatusCode) + // resp, err := http.Get(server.URL + "/swagger.json") + // assert.NoError(err) + // assert.Equal(http.StatusOK, resp.StatusCode) // swagger is installed in PrepareRun - resp, err = http.Get(server.URL + "/swaggerapi/") + resp, err := http.Get(server.URL + "/swaggerapi/") assert.NoError(err) assert.Equal(http.StatusOK, resp.StatusCode) diff --git a/staging/src/k8s.io/apiserver/pkg/server/options/serving_test.go b/staging/src/k8s.io/apiserver/pkg/server/options/serving_test.go index 269c0272cd3..e600bd698d5 100644 --- a/staging/src/k8s.io/apiserver/pkg/server/options/serving_test.go +++ b/staging/src/k8s.io/apiserver/pkg/server/options/serving_test.go @@ -36,9 +36,9 @@ import ( genericapirequest "k8s.io/apiserver/pkg/endpoints/request" . "k8s.io/apiserver/pkg/server" utilflag "k8s.io/apiserver/pkg/util/flag" + "k8s.io/client-go/discovery" restclient "k8s.io/client-go/rest" utilcert "k8s.io/client-go/util/cert" - "k8s.io/kubernetes/pkg/client/clientset_generated/clientset" ) func setUp(t *testing.T) Config { @@ -569,7 +569,7 @@ NextTest: t.Errorf("%q - failed creating loopback client config: %v", title, err) continue NextTest } - client, err := clientset.NewForConfig(cfg) + client, err := discovery.NewDiscoveryClientForConfig(cfg) if err != nil { t.Errorf("%q - failed to create loopback client: %v", title, err) continue NextTest diff --git a/staging/src/k8s.io/kube-aggregator/Godeps/Godeps.json b/staging/src/k8s.io/kube-aggregator/Godeps/Godeps.json new file mode 100644 index 00000000000..fdd5f84bd30 --- /dev/null +++ b/staging/src/k8s.io/kube-aggregator/Godeps/Godeps.json @@ -0,0 +1,540 @@ +{ + "ImportPath": "k8s.io/kube-aggregator", + "GoVersion": "go1.7", + "GodepVersion": "v74", + "Packages": [ + "./..." + ], + "Deps": [ + { + "ImportPath": "bitbucket.org/ww/goautoneg", + "Comment": "null-5", + "Rev": "'75cd24fc2f2c2a2088577d12123ddee5f54e0675'" + }, + { + "ImportPath": "cloud.google.com/go/compute/metadata", + "Comment": "v0.1.0-115-g3b1ae45", + "Rev": "3b1ae45394a234c385be014e9a488f2bb6eef821" + }, + { + "ImportPath": "cloud.google.com/go/internal", + "Comment": "v0.1.0-115-g3b1ae45", + "Rev": "3b1ae45394a234c385be014e9a488f2bb6eef821" + }, + { + "ImportPath": "github.com/PuerkitoBio/purell", + "Comment": "v1.0.0", + "Rev": "8a290539e2e8629dbc4e6bad948158f790ec31f4" + }, + { + "ImportPath": "github.com/PuerkitoBio/urlesc", + "Rev": "5bd2802263f21d8788851d5305584c82a5c75d7e" + }, + { + "ImportPath": "github.com/beorn7/perks/quantile", + "Rev": "3ac7bf7a47d159a033b107610db8a1b6575507a4" + }, + { + "ImportPath": "github.com/coreos/etcd/auth/authpb", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/client", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/clientv3", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/etcdserver/api/v3rpc/rpctypes", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/etcdserver/etcdserverpb", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/mvcc/mvccpb", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/pkg/fileutil", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/pkg/pathutil", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/pkg/tlsutil", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/pkg/transport", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/pkg/types", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/go-oidc/http", + "Rev": "5644a2f50e2d2d5ba0b474bc5bc55fea1925936d" + }, + { + "ImportPath": "github.com/coreos/go-oidc/jose", + "Rev": "5644a2f50e2d2d5ba0b474bc5bc55fea1925936d" + }, + { + "ImportPath": "github.com/coreos/go-oidc/key", + "Rev": "5644a2f50e2d2d5ba0b474bc5bc55fea1925936d" + }, + { + "ImportPath": "github.com/coreos/go-oidc/oauth2", + "Rev": "5644a2f50e2d2d5ba0b474bc5bc55fea1925936d" + }, + { + "ImportPath": "github.com/coreos/go-oidc/oidc", + "Rev": "5644a2f50e2d2d5ba0b474bc5bc55fea1925936d" + }, + { + "ImportPath": "github.com/coreos/go-systemd/daemon", + "Comment": "v8-2-g4484981", + "Rev": "4484981625c1a6a2ecb40a390fcb6a9bcfee76e3" + }, + { + "ImportPath": "github.com/coreos/go-systemd/journal", + "Comment": "v8-2-g4484981", + "Rev": "4484981625c1a6a2ecb40a390fcb6a9bcfee76e3" + }, + { + "ImportPath": "github.com/coreos/pkg/capnslog", + "Comment": "v2-8-gfa29b1d", + "Rev": "fa29b1d70f0beaddd4c7021607cc3c3be8ce94b8" + }, + { + "ImportPath": "github.com/coreos/pkg/health", + "Comment": "v2-8-gfa29b1d", + "Rev": "fa29b1d70f0beaddd4c7021607cc3c3be8ce94b8" + }, + { + "ImportPath": "github.com/coreos/pkg/httputil", + "Comment": "v2-8-gfa29b1d", + "Rev": "fa29b1d70f0beaddd4c7021607cc3c3be8ce94b8" + }, + { + "ImportPath": "github.com/coreos/pkg/timeutil", + "Comment": "v2-8-gfa29b1d", + "Rev": "fa29b1d70f0beaddd4c7021607cc3c3be8ce94b8" + }, + { + "ImportPath": "github.com/davecgh/go-spew/spew", + "Rev": "5215b55f46b2b919f50a1df0eaa5886afe4e3b3d" + }, + { + "ImportPath": "github.com/docker/distribution/digest", + "Comment": "v2.4.0-rc.1-38-gcd27f179", + "Rev": "cd27f179f2c10c5d300e6d09025b538c475b0d51" + }, + { + "ImportPath": "github.com/docker/distribution/reference", + "Comment": "v2.4.0-rc.1-38-gcd27f179", + "Rev": "cd27f179f2c10c5d300e6d09025b538c475b0d51" + }, + { + "ImportPath": "github.com/docker/spdystream", + "Rev": "449fdfce4d962303d702fec724ef0ad181c92528" + }, + { + "ImportPath": "github.com/docker/spdystream/spdy", + "Rev": "449fdfce4d962303d702fec724ef0ad181c92528" + }, + { + "ImportPath": "github.com/elazarl/go-bindata-assetfs", + "Rev": "3dcc96556217539f50599357fb481ac0dc7439b9" + }, + { + "ImportPath": "github.com/emicklei/go-restful", + "Comment": "v1.2-96-g09691a3", + "Rev": "09691a3b6378b740595c1002f40c34dd5f218a22" + }, + { + "ImportPath": "github.com/emicklei/go-restful/log", + "Comment": "v1.2-96-g09691a3", + "Rev": "09691a3b6378b740595c1002f40c34dd5f218a22" + }, + { + "ImportPath": "github.com/emicklei/go-restful/swagger", + "Comment": "v1.2-96-g09691a3", + "Rev": "09691a3b6378b740595c1002f40c34dd5f218a22" + }, + { + "ImportPath": "github.com/evanphx/json-patch", + "Rev": "465937c80b3c07a7c7ad20cc934898646a91c1de" + }, + { + "ImportPath": "github.com/ghodss/yaml", + "Rev": "73d445a93680fa1a78ae23a5839bad48f32ba1ee" + }, + { + "ImportPath": "github.com/go-openapi/jsonpointer", + "Rev": "46af16f9f7b149af66e5d1bd010e3574dc06de98" + }, + { + "ImportPath": "github.com/go-openapi/jsonreference", + "Rev": "13c6e3589ad90f49bd3e3bbe2c2cb3d7a4142272" + }, + { + "ImportPath": "github.com/go-openapi/spec", + "Rev": "6aced65f8501fe1217321abf0749d354824ba2ff" + }, + { + "ImportPath": "github.com/go-openapi/swag", + "Rev": "1d0bd113de87027671077d3c71eb3ac5d7dbba72" + }, + { + "ImportPath": "github.com/gogo/protobuf/proto", + "Comment": "v0.2-33-ge18d7aa8", + "Rev": "e18d7aa8f8c624c915db340349aad4c49b10d173" + }, + { + "ImportPath": "github.com/gogo/protobuf/sortkeys", + "Comment": "v0.2-33-ge18d7aa8", + "Rev": "e18d7aa8f8c624c915db340349aad4c49b10d173" + }, + { + "ImportPath": "github.com/golang/glog", + "Rev": "44145f04b68cf362d9c4df2182967c2275eaefed" + }, + { + "ImportPath": "github.com/golang/groupcache/lru", + "Rev": "02826c3e79038b59d737d3b1c0a1d937f71a4433" + }, + { + "ImportPath": "github.com/golang/protobuf/jsonpb", + "Rev": "8616e8ee5e20a1704615e6c8d7afcdac06087a67" + }, + { + "ImportPath": "github.com/golang/protobuf/proto", + "Rev": "8616e8ee5e20a1704615e6c8d7afcdac06087a67" + }, + { + "ImportPath": "github.com/google/gofuzz", + "Rev": "44d81051d367757e1c7c6a5a86423ece9afcf63c" + }, + { + "ImportPath": "github.com/grpc-ecosystem/grpc-gateway/runtime", + "Comment": "v1.0.0-8-gf52d055", + "Rev": "f52d055dc48aec25854ed7d31862f78913cf17d1" + }, + { + "ImportPath": "github.com/grpc-ecosystem/grpc-gateway/runtime/internal", + "Comment": "v1.0.0-8-gf52d055", + "Rev": "f52d055dc48aec25854ed7d31862f78913cf17d1" + }, + { + "ImportPath": "github.com/grpc-ecosystem/grpc-gateway/utilities", + "Comment": "v1.0.0-8-gf52d055", + "Rev": "f52d055dc48aec25854ed7d31862f78913cf17d1" + }, + { + "ImportPath": "github.com/howeyc/gopass", + "Rev": "3ca23474a7c7203e0a0a070fd33508f6efdb9b3d" + }, + { + "ImportPath": "github.com/imdario/mergo", + "Comment": "0.1.3-8-g6633656", + "Rev": "6633656539c1639d9d78127b7d47c622b5d7b6dc" + }, + { + "ImportPath": "github.com/inconshreveable/mousetrap", + "Rev": "76626ae9c91c4f2a10f34cad8ce83ea42c93bb75" + }, + { + "ImportPath": "github.com/jonboulle/clockwork", + "Rev": "72f9bd7c4e0c2a40055ab3d0f09654f730cce982" + }, + { + "ImportPath": "github.com/juju/ratelimit", + "Rev": "77ed1c8a01217656d2080ad51981f6e99adaa177" + }, + { + "ImportPath": "github.com/mailru/easyjson/buffer", + "Rev": "d5b7844b561a7bc640052f1b935f7b800330d7e0" + }, + { + "ImportPath": "github.com/mailru/easyjson/jlexer", + "Rev": "d5b7844b561a7bc640052f1b935f7b800330d7e0" + }, + { + "ImportPath": "github.com/mailru/easyjson/jwriter", + "Rev": "d5b7844b561a7bc640052f1b935f7b800330d7e0" + }, + { + "ImportPath": "github.com/matttproud/golang_protobuf_extensions/pbutil", + "Rev": "fc2b8d3a73c4867e51861bbdd5ae3c1f0869dd6a" + }, + { + "ImportPath": "github.com/mxk/go-flowrate/flowrate", + "Rev": "cca7078d478f8520f85629ad7c68962d31ed7682" + }, + { + "ImportPath": "github.com/pborman/uuid", + "Rev": "ca53cad383cad2479bbba7f7a1a05797ec1386e4" + }, + { + "ImportPath": "github.com/pkg/errors", + "Comment": "v0.7.0-13-ga221380", + "Rev": "a22138067af1c4942683050411a841ade67fe1eb" + }, + { + "ImportPath": "github.com/prometheus/client_golang/prometheus", + "Comment": "0.7.0-52-ge51041b", + "Rev": "e51041b3fa41cece0dca035740ba6411905be473" + }, + { + "ImportPath": "github.com/prometheus/client_model/go", + "Comment": "model-0.0.2-12-gfa8ad6f", + "Rev": "fa8ad6fec33561be4280a8f0514318c79d7f6cb6" + }, + { + "ImportPath": "github.com/prometheus/common/expfmt", + "Rev": "ffe929a3f4c4faeaa10f2b9535c2b1be3ad15650" + }, + { + "ImportPath": "github.com/prometheus/common/model", + "Rev": "ffe929a3f4c4faeaa10f2b9535c2b1be3ad15650" + }, + { + "ImportPath": "github.com/prometheus/procfs", + "Rev": "454a56f35412459b5e684fd5ec0f9211b94f002a" + }, + { + "ImportPath": "github.com/spf13/cobra", + "Rev": "f62e98d28ab7ad31d707ba837a966378465c7b57" + }, + { + "ImportPath": "github.com/spf13/pflag", + "Rev": "5ccb023bc27df288a957c5e994cd44fd19619465" + }, + { + "ImportPath": "github.com/ugorji/go/codec", + "Rev": "ded73eae5db7e7a0ef6f55aace87a2873c5d2b74" + }, + { + "ImportPath": "golang.org/x/crypto/ssh/terminal", + "Rev": "d172538b2cfce0c13cee31e647d0367aa8cd2486" + }, + { + "ImportPath": "golang.org/x/net/context", + "Rev": "e90d6d0afc4c315a0d87a568ae68577cc15149a0" + }, + { + "ImportPath": "golang.org/x/net/context/ctxhttp", + "Rev": "e90d6d0afc4c315a0d87a568ae68577cc15149a0" + }, + { + "ImportPath": "golang.org/x/net/html", + "Rev": "e90d6d0afc4c315a0d87a568ae68577cc15149a0" + }, + { + "ImportPath": "golang.org/x/net/html/atom", + "Rev": "e90d6d0afc4c315a0d87a568ae68577cc15149a0" + }, + { + "ImportPath": "golang.org/x/net/http2", + "Rev": "e90d6d0afc4c315a0d87a568ae68577cc15149a0" + }, + { + "ImportPath": "golang.org/x/net/http2/hpack", + "Rev": "e90d6d0afc4c315a0d87a568ae68577cc15149a0" + }, + { + "ImportPath": "golang.org/x/net/idna", + "Rev": "e90d6d0afc4c315a0d87a568ae68577cc15149a0" + }, + { + "ImportPath": "golang.org/x/net/internal/timeseries", + "Rev": "e90d6d0afc4c315a0d87a568ae68577cc15149a0" + }, + { + "ImportPath": "golang.org/x/net/lex/httplex", + "Rev": "e90d6d0afc4c315a0d87a568ae68577cc15149a0" + }, + { + "ImportPath": "golang.org/x/net/trace", + "Rev": "e90d6d0afc4c315a0d87a568ae68577cc15149a0" + }, + { + "ImportPath": "golang.org/x/net/websocket", + "Rev": "e90d6d0afc4c315a0d87a568ae68577cc15149a0" + }, + { + "ImportPath": "golang.org/x/oauth2", + "Rev": "3c3a985cb79f52a3190fbc056984415ca6763d01" + }, + { + "ImportPath": "golang.org/x/oauth2/google", + "Rev": "3c3a985cb79f52a3190fbc056984415ca6763d01" + }, + { + "ImportPath": "golang.org/x/oauth2/internal", + "Rev": "3c3a985cb79f52a3190fbc056984415ca6763d01" + }, + { + "ImportPath": "golang.org/x/oauth2/jws", + "Rev": "3c3a985cb79f52a3190fbc056984415ca6763d01" + }, + { + "ImportPath": "golang.org/x/oauth2/jwt", + "Rev": "3c3a985cb79f52a3190fbc056984415ca6763d01" + }, + { + "ImportPath": "golang.org/x/sys/unix", + "Rev": "8f0908ab3b2457e2e15403d3697c9ef5cb4b57a9" + }, + { + "ImportPath": "golang.org/x/text/cases", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "golang.org/x/text/internal/tag", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "golang.org/x/text/language", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "golang.org/x/text/runes", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "golang.org/x/text/secure/bidirule", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "golang.org/x/text/secure/precis", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "golang.org/x/text/transform", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "golang.org/x/text/unicode/bidi", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "golang.org/x/text/unicode/norm", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "golang.org/x/text/width", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "google.golang.org/appengine", + "Rev": "4f7eeb5305a4ba1966344836ba4af9996b7b4e05" + }, + { + "ImportPath": "google.golang.org/appengine/internal", + "Rev": "4f7eeb5305a4ba1966344836ba4af9996b7b4e05" + }, + { + "ImportPath": "google.golang.org/appengine/internal/app_identity", + "Rev": "4f7eeb5305a4ba1966344836ba4af9996b7b4e05" + }, + { + "ImportPath": "google.golang.org/appengine/internal/base", + "Rev": "4f7eeb5305a4ba1966344836ba4af9996b7b4e05" + }, + { + "ImportPath": "google.golang.org/appengine/internal/datastore", + "Rev": "4f7eeb5305a4ba1966344836ba4af9996b7b4e05" + }, + { + "ImportPath": "google.golang.org/appengine/internal/log", + "Rev": "4f7eeb5305a4ba1966344836ba4af9996b7b4e05" + }, + { + "ImportPath": "google.golang.org/appengine/internal/modules", + "Rev": "4f7eeb5305a4ba1966344836ba4af9996b7b4e05" + }, + { + "ImportPath": "google.golang.org/appengine/internal/remote_api", + "Rev": "4f7eeb5305a4ba1966344836ba4af9996b7b4e05" + }, + { + "ImportPath": "google.golang.org/grpc", + "Comment": "v1.0.0-183-g231b4cf", + "Rev": "231b4cfea0e79843053a33f5fe90bd4d84b23cd3" + }, + { + "ImportPath": "google.golang.org/grpc/codes", + "Comment": "v1.0.0-183-g231b4cf", + "Rev": "231b4cfea0e79843053a33f5fe90bd4d84b23cd3" + }, + { + "ImportPath": "google.golang.org/grpc/credentials", + "Comment": "v1.0.0-183-g231b4cf", + "Rev": "231b4cfea0e79843053a33f5fe90bd4d84b23cd3" + }, + { + "ImportPath": "google.golang.org/grpc/grpclog", + "Comment": "v1.0.0-183-g231b4cf", + "Rev": "231b4cfea0e79843053a33f5fe90bd4d84b23cd3" + }, + { + "ImportPath": "google.golang.org/grpc/internal", + "Comment": "v1.0.0-183-g231b4cf", + "Rev": "231b4cfea0e79843053a33f5fe90bd4d84b23cd3" + }, + { + "ImportPath": "google.golang.org/grpc/metadata", + "Comment": "v1.0.0-183-g231b4cf", + "Rev": "231b4cfea0e79843053a33f5fe90bd4d84b23cd3" + }, + { + "ImportPath": "google.golang.org/grpc/naming", + "Comment": "v1.0.0-183-g231b4cf", + "Rev": "231b4cfea0e79843053a33f5fe90bd4d84b23cd3" + }, + { + "ImportPath": "google.golang.org/grpc/peer", + "Comment": "v1.0.0-183-g231b4cf", + "Rev": "231b4cfea0e79843053a33f5fe90bd4d84b23cd3" + }, + { + "ImportPath": "google.golang.org/grpc/transport", + "Comment": "v1.0.0-183-g231b4cf", + "Rev": "231b4cfea0e79843053a33f5fe90bd4d84b23cd3" + }, + { + "ImportPath": "gopkg.in/inf.v0", + "Comment": "v0.9.0", + "Rev": "3887ee99ecf07df5b447e9b00d9c0b2adaa9f3e4" + }, + { + "ImportPath": "gopkg.in/natefinch/lumberjack.v2", + "Comment": "v1.0-16-g20b71e5", + "Rev": "20b71e5b60d756d3d2f80def009790325acc2b23" + }, + { + "ImportPath": "gopkg.in/yaml.v2", + "Rev": "53feefa2559fb8dfa8d81baad31be332c97d6c77" + } + ] +} diff --git a/staging/src/k8s.io/kube-aggregator/Godeps/Readme b/staging/src/k8s.io/kube-aggregator/Godeps/Readme new file mode 100644 index 00000000000..4cdaa53d56d --- /dev/null +++ b/staging/src/k8s.io/kube-aggregator/Godeps/Readme @@ -0,0 +1,5 @@ +This directory tree is generated automatically by godep. + +Please do not edit. + +See https://github.com/tools/godep for more information. diff --git a/staging/src/k8s.io/sample-apiserver/Godeps/Godeps.json b/staging/src/k8s.io/sample-apiserver/Godeps/Godeps.json new file mode 100644 index 00000000000..9c18ae06551 --- /dev/null +++ b/staging/src/k8s.io/sample-apiserver/Godeps/Godeps.json @@ -0,0 +1,423 @@ +{ + "ImportPath": "k8s.io/sample-apiserver", + "GoVersion": "go1.7", + "GodepVersion": "v74", + "Packages": [ + "./..." + ], + "Deps": [ + { + "ImportPath": "bitbucket.org/ww/goautoneg", + "Comment": "null-5", + "Rev": "'75cd24fc2f2c2a2088577d12123ddee5f54e0675'" + }, + { + "ImportPath": "github.com/PuerkitoBio/purell", + "Comment": "v1.0.0", + "Rev": "8a290539e2e8629dbc4e6bad948158f790ec31f4" + }, + { + "ImportPath": "github.com/PuerkitoBio/urlesc", + "Rev": "5bd2802263f21d8788851d5305584c82a5c75d7e" + }, + { + "ImportPath": "github.com/beorn7/perks/quantile", + "Rev": "3ac7bf7a47d159a033b107610db8a1b6575507a4" + }, + { + "ImportPath": "github.com/coreos/etcd/auth/authpb", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/client", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/clientv3", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/etcdserver/api/v3rpc/rpctypes", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/etcdserver/etcdserverpb", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/mvcc/mvccpb", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/pkg/fileutil", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/pkg/pathutil", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/pkg/tlsutil", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/pkg/transport", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/etcd/pkg/types", + "Comment": "v3.0.14", + "Rev": "8a37349097a592db79ba3087f3cae9cd4b0af21c" + }, + { + "ImportPath": "github.com/coreos/go-systemd/daemon", + "Comment": "v8-2-g4484981", + "Rev": "4484981625c1a6a2ecb40a390fcb6a9bcfee76e3" + }, + { + "ImportPath": "github.com/coreos/go-systemd/journal", + "Comment": "v8-2-g4484981", + "Rev": "4484981625c1a6a2ecb40a390fcb6a9bcfee76e3" + }, + { + "ImportPath": "github.com/coreos/pkg/capnslog", + "Comment": "v2-8-gfa29b1d", + "Rev": "fa29b1d70f0beaddd4c7021607cc3c3be8ce94b8" + }, + { + "ImportPath": "github.com/davecgh/go-spew/spew", + "Rev": "5215b55f46b2b919f50a1df0eaa5886afe4e3b3d" + }, + { + "ImportPath": "github.com/docker/distribution/digest", + "Comment": "v2.4.0-rc.1-38-gcd27f179", + "Rev": "cd27f179f2c10c5d300e6d09025b538c475b0d51" + }, + { + "ImportPath": "github.com/docker/distribution/reference", + "Comment": "v2.4.0-rc.1-38-gcd27f179", + "Rev": "cd27f179f2c10c5d300e6d09025b538c475b0d51" + }, + { + "ImportPath": "github.com/elazarl/go-bindata-assetfs", + "Rev": "3dcc96556217539f50599357fb481ac0dc7439b9" + }, + { + "ImportPath": "github.com/emicklei/go-restful", + "Comment": "v1.2-96-g09691a3", + "Rev": "09691a3b6378b740595c1002f40c34dd5f218a22" + }, + { + "ImportPath": "github.com/emicklei/go-restful/log", + "Comment": "v1.2-96-g09691a3", + "Rev": "09691a3b6378b740595c1002f40c34dd5f218a22" + }, + { + "ImportPath": "github.com/emicklei/go-restful/swagger", + "Comment": "v1.2-96-g09691a3", + "Rev": "09691a3b6378b740595c1002f40c34dd5f218a22" + }, + { + "ImportPath": "github.com/evanphx/json-patch", + "Rev": "465937c80b3c07a7c7ad20cc934898646a91c1de" + }, + { + "ImportPath": "github.com/ghodss/yaml", + "Rev": "73d445a93680fa1a78ae23a5839bad48f32ba1ee" + }, + { + "ImportPath": "github.com/go-openapi/jsonpointer", + "Rev": "46af16f9f7b149af66e5d1bd010e3574dc06de98" + }, + { + "ImportPath": "github.com/go-openapi/jsonreference", + "Rev": "13c6e3589ad90f49bd3e3bbe2c2cb3d7a4142272" + }, + { + "ImportPath": "github.com/go-openapi/spec", + "Rev": "6aced65f8501fe1217321abf0749d354824ba2ff" + }, + { + "ImportPath": "github.com/go-openapi/swag", + "Rev": "1d0bd113de87027671077d3c71eb3ac5d7dbba72" + }, + { + "ImportPath": "github.com/gogo/protobuf/proto", + "Comment": "v0.2-33-ge18d7aa8", + "Rev": "e18d7aa8f8c624c915db340349aad4c49b10d173" + }, + { + "ImportPath": "github.com/gogo/protobuf/sortkeys", + "Comment": "v0.2-33-ge18d7aa8", + "Rev": "e18d7aa8f8c624c915db340349aad4c49b10d173" + }, + { + "ImportPath": "github.com/golang/glog", + "Rev": "44145f04b68cf362d9c4df2182967c2275eaefed" + }, + { + "ImportPath": "github.com/golang/groupcache/lru", + "Rev": "02826c3e79038b59d737d3b1c0a1d937f71a4433" + }, + { + "ImportPath": "github.com/golang/protobuf/jsonpb", + "Rev": "8616e8ee5e20a1704615e6c8d7afcdac06087a67" + }, + { + "ImportPath": "github.com/golang/protobuf/proto", + "Rev": "8616e8ee5e20a1704615e6c8d7afcdac06087a67" + }, + { + "ImportPath": "github.com/google/gofuzz", + "Rev": "44d81051d367757e1c7c6a5a86423ece9afcf63c" + }, + { + "ImportPath": "github.com/grpc-ecosystem/grpc-gateway/runtime", + "Comment": "v1.0.0-8-gf52d055", + "Rev": "f52d055dc48aec25854ed7d31862f78913cf17d1" + }, + { + "ImportPath": "github.com/grpc-ecosystem/grpc-gateway/runtime/internal", + "Comment": "v1.0.0-8-gf52d055", + "Rev": "f52d055dc48aec25854ed7d31862f78913cf17d1" + }, + { + "ImportPath": "github.com/grpc-ecosystem/grpc-gateway/utilities", + "Comment": "v1.0.0-8-gf52d055", + "Rev": "f52d055dc48aec25854ed7d31862f78913cf17d1" + }, + { + "ImportPath": "github.com/howeyc/gopass", + "Rev": "3ca23474a7c7203e0a0a070fd33508f6efdb9b3d" + }, + { + "ImportPath": "github.com/imdario/mergo", + "Comment": "0.1.3-8-g6633656", + "Rev": "6633656539c1639d9d78127b7d47c622b5d7b6dc" + }, + { + "ImportPath": "github.com/inconshreveable/mousetrap", + "Rev": "76626ae9c91c4f2a10f34cad8ce83ea42c93bb75" + }, + { + "ImportPath": "github.com/juju/ratelimit", + "Rev": "77ed1c8a01217656d2080ad51981f6e99adaa177" + }, + { + "ImportPath": "github.com/mailru/easyjson/buffer", + "Rev": "d5b7844b561a7bc640052f1b935f7b800330d7e0" + }, + { + "ImportPath": "github.com/mailru/easyjson/jlexer", + "Rev": "d5b7844b561a7bc640052f1b935f7b800330d7e0" + }, + { + "ImportPath": "github.com/mailru/easyjson/jwriter", + "Rev": "d5b7844b561a7bc640052f1b935f7b800330d7e0" + }, + { + "ImportPath": "github.com/matttproud/golang_protobuf_extensions/pbutil", + "Rev": "fc2b8d3a73c4867e51861bbdd5ae3c1f0869dd6a" + }, + { + "ImportPath": "github.com/pborman/uuid", + "Rev": "ca53cad383cad2479bbba7f7a1a05797ec1386e4" + }, + { + "ImportPath": "github.com/pkg/errors", + "Comment": "v0.7.0-13-ga221380", + "Rev": "a22138067af1c4942683050411a841ade67fe1eb" + }, + { + "ImportPath": "github.com/prometheus/client_golang/prometheus", + "Comment": "0.7.0-52-ge51041b", + "Rev": "e51041b3fa41cece0dca035740ba6411905be473" + }, + { + "ImportPath": "github.com/prometheus/client_model/go", + "Comment": "model-0.0.2-12-gfa8ad6f", + "Rev": "fa8ad6fec33561be4280a8f0514318c79d7f6cb6" + }, + { + "ImportPath": "github.com/prometheus/common/expfmt", + "Rev": "ffe929a3f4c4faeaa10f2b9535c2b1be3ad15650" + }, + { + "ImportPath": "github.com/prometheus/common/model", + "Rev": "ffe929a3f4c4faeaa10f2b9535c2b1be3ad15650" + }, + { + "ImportPath": "github.com/prometheus/procfs", + "Rev": "454a56f35412459b5e684fd5ec0f9211b94f002a" + }, + { + "ImportPath": "github.com/spf13/cobra", + "Rev": "f62e98d28ab7ad31d707ba837a966378465c7b57" + }, + { + "ImportPath": "github.com/spf13/pflag", + "Rev": "5ccb023bc27df288a957c5e994cd44fd19619465" + }, + { + "ImportPath": "github.com/ugorji/go/codec", + "Rev": "ded73eae5db7e7a0ef6f55aace87a2873c5d2b74" + }, + { + "ImportPath": "golang.org/x/crypto/ssh/terminal", + "Rev": "d172538b2cfce0c13cee31e647d0367aa8cd2486" + }, + { + "ImportPath": "golang.org/x/net/context", + "Rev": "e90d6d0afc4c315a0d87a568ae68577cc15149a0" + }, + { + "ImportPath": "golang.org/x/net/html", + "Rev": "e90d6d0afc4c315a0d87a568ae68577cc15149a0" + }, + { + "ImportPath": "golang.org/x/net/html/atom", + "Rev": "e90d6d0afc4c315a0d87a568ae68577cc15149a0" + }, + { + "ImportPath": "golang.org/x/net/http2", + "Rev": "e90d6d0afc4c315a0d87a568ae68577cc15149a0" + }, + { + "ImportPath": "golang.org/x/net/http2/hpack", + "Rev": "e90d6d0afc4c315a0d87a568ae68577cc15149a0" + }, + { + "ImportPath": "golang.org/x/net/idna", + "Rev": "e90d6d0afc4c315a0d87a568ae68577cc15149a0" + }, + { + "ImportPath": "golang.org/x/net/internal/timeseries", + "Rev": "e90d6d0afc4c315a0d87a568ae68577cc15149a0" + }, + { + "ImportPath": "golang.org/x/net/lex/httplex", + "Rev": "e90d6d0afc4c315a0d87a568ae68577cc15149a0" + }, + { + "ImportPath": "golang.org/x/net/trace", + "Rev": "e90d6d0afc4c315a0d87a568ae68577cc15149a0" + }, + { + "ImportPath": "golang.org/x/net/websocket", + "Rev": "e90d6d0afc4c315a0d87a568ae68577cc15149a0" + }, + { + "ImportPath": "golang.org/x/sys/unix", + "Rev": "8f0908ab3b2457e2e15403d3697c9ef5cb4b57a9" + }, + { + "ImportPath": "golang.org/x/text/cases", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "golang.org/x/text/internal/tag", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "golang.org/x/text/language", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "golang.org/x/text/runes", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "golang.org/x/text/secure/bidirule", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "golang.org/x/text/secure/precis", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "golang.org/x/text/transform", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "golang.org/x/text/unicode/bidi", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "golang.org/x/text/unicode/norm", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "golang.org/x/text/width", + "Rev": "2910a502d2bf9e43193af9d68ca516529614eed3" + }, + { + "ImportPath": "google.golang.org/grpc", + "Comment": "v1.0.0-183-g231b4cf", + "Rev": "231b4cfea0e79843053a33f5fe90bd4d84b23cd3" + }, + { + "ImportPath": "google.golang.org/grpc/codes", + "Comment": "v1.0.0-183-g231b4cf", + "Rev": "231b4cfea0e79843053a33f5fe90bd4d84b23cd3" + }, + { + "ImportPath": "google.golang.org/grpc/credentials", + "Comment": "v1.0.0-183-g231b4cf", + "Rev": "231b4cfea0e79843053a33f5fe90bd4d84b23cd3" + }, + { + "ImportPath": "google.golang.org/grpc/grpclog", + "Comment": "v1.0.0-183-g231b4cf", + "Rev": "231b4cfea0e79843053a33f5fe90bd4d84b23cd3" + }, + { + "ImportPath": "google.golang.org/grpc/internal", + "Comment": "v1.0.0-183-g231b4cf", + "Rev": "231b4cfea0e79843053a33f5fe90bd4d84b23cd3" + }, + { + "ImportPath": "google.golang.org/grpc/metadata", + "Comment": "v1.0.0-183-g231b4cf", + "Rev": "231b4cfea0e79843053a33f5fe90bd4d84b23cd3" + }, + { + "ImportPath": "google.golang.org/grpc/naming", + "Comment": "v1.0.0-183-g231b4cf", + "Rev": "231b4cfea0e79843053a33f5fe90bd4d84b23cd3" + }, + { + "ImportPath": "google.golang.org/grpc/peer", + "Comment": "v1.0.0-183-g231b4cf", + "Rev": "231b4cfea0e79843053a33f5fe90bd4d84b23cd3" + }, + { + "ImportPath": "google.golang.org/grpc/transport", + "Comment": "v1.0.0-183-g231b4cf", + "Rev": "231b4cfea0e79843053a33f5fe90bd4d84b23cd3" + }, + { + "ImportPath": "gopkg.in/inf.v0", + "Comment": "v0.9.0", + "Rev": "3887ee99ecf07df5b447e9b00d9c0b2adaa9f3e4" + }, + { + "ImportPath": "gopkg.in/natefinch/lumberjack.v2", + "Comment": "v1.0-16-g20b71e5", + "Rev": "20b71e5b60d756d3d2f80def009790325acc2b23" + }, + { + "ImportPath": "gopkg.in/yaml.v2", + "Rev": "53feefa2559fb8dfa8d81baad31be332c97d6c77" + } + ] +} diff --git a/staging/src/k8s.io/sample-apiserver/Godeps/Readme b/staging/src/k8s.io/sample-apiserver/Godeps/Readme new file mode 100644 index 00000000000..4cdaa53d56d --- /dev/null +++ b/staging/src/k8s.io/sample-apiserver/Godeps/Readme @@ -0,0 +1,5 @@ +This directory tree is generated automatically by godep. + +Please do not edit. + +See https://github.com/tools/godep for more information. diff --git a/vendor/BUILD b/vendor/BUILD index 17103fdf9e7..15f7419f5f1 100644 --- a/vendor/BUILD +++ b/vendor/BUILD @@ -9746,9 +9746,6 @@ go_test( library = ":k8s.io/apiserver/pkg/endpoints", tags = ["automanaged"], deps = [ - "//pkg/api:go_default_library", - "//plugin/pkg/admission/admit:go_default_library", - "//plugin/pkg/admission/deny:go_default_library", "//vendor:github.com/emicklei/go-restful", "//vendor:golang.org/x/net/websocket", "//vendor:k8s.io/apimachinery/pkg/api/equality", @@ -9778,6 +9775,7 @@ go_test( "//vendor:k8s.io/apiserver/pkg/endpoints/request", "//vendor:k8s.io/apiserver/pkg/endpoints/testing", "//vendor:k8s.io/apiserver/pkg/registry/rest", + "//vendor:k8s.io/client-go/pkg/api", ], ) @@ -9823,7 +9821,6 @@ go_test( library = ":k8s.io/apiserver/pkg/endpoints/filters", tags = ["automanaged"], deps = [ - "//pkg/apis/batch:go_default_library", "//vendor:k8s.io/apimachinery/pkg/util/sets", "//vendor:k8s.io/apiserver/pkg/authentication/authenticator", "//vendor:k8s.io/apiserver/pkg/authentication/user", @@ -9831,6 +9828,7 @@ go_test( "//vendor:k8s.io/apiserver/pkg/endpoints/handlers/responsewriters", "//vendor:k8s.io/apiserver/pkg/endpoints/request", "//vendor:k8s.io/client-go/pkg/apis/authentication", + "//vendor:k8s.io/client-go/pkg/apis/batch", ], ) @@ -9868,9 +9866,6 @@ go_test( library = ":k8s.io/apiserver/pkg/endpoints/handlers", tags = ["automanaged"], deps = [ - "//pkg/api:go_default_library", - "//pkg/api/testapi:go_default_library", - "//pkg/api/v1:go_default_library", "//vendor:github.com/emicklei/go-restful", "//vendor:github.com/evanphx/json-patch", "//vendor:k8s.io/apimachinery/pkg/api/equality", @@ -9883,6 +9878,9 @@ go_test( "//vendor:k8s.io/apimachinery/pkg/util/strategicpatch", "//vendor:k8s.io/apiserver/pkg/endpoints/request", "//vendor:k8s.io/apiserver/pkg/registry/rest", + "//vendor:k8s.io/client-go/pkg/api", + "//vendor:k8s.io/client-go/pkg/api/install", + "//vendor:k8s.io/client-go/pkg/api/v1", ], ) @@ -10199,7 +10197,6 @@ go_test( library = ":k8s.io/apiserver/pkg/registry/generic/rest", tags = ["automanaged"], deps = [ - "//pkg/api:go_default_library", "//vendor:github.com/stretchr/testify/assert", "//vendor:github.com/stretchr/testify/require", "//vendor:golang.org/x/net/websocket", @@ -10210,6 +10207,7 @@ go_test( "//vendor:k8s.io/apiserver/pkg/features", "//vendor:k8s.io/apiserver/pkg/util/feature", "//vendor:k8s.io/apiserver/pkg/util/proxy", + "//vendor:k8s.io/client-go/pkg/api", ], ) @@ -10306,12 +10304,11 @@ go_test( library = ":k8s.io/apiserver/pkg/server", tags = ["automanaged"], deps = [ - "//pkg/generated/openapi:go_default_library", - "//vendor:github.com/go-openapi/spec", "//vendor:github.com/stretchr/testify/assert", "//vendor:k8s.io/apimachinery/pkg/api/meta", "//vendor:k8s.io/apimachinery/pkg/apimachinery", "//vendor:k8s.io/apimachinery/pkg/apis/meta/v1", + "//vendor:k8s.io/apimachinery/pkg/openapi", "//vendor:k8s.io/apimachinery/pkg/runtime", "//vendor:k8s.io/apimachinery/pkg/runtime/schema", "//vendor:k8s.io/apimachinery/pkg/runtime/serializer", @@ -10325,7 +10322,6 @@ go_test( "//vendor:k8s.io/apiserver/pkg/endpoints/request", "//vendor:k8s.io/apiserver/pkg/registry/rest", "//vendor:k8s.io/apiserver/pkg/storage/etcd/testing", - "//vendor:k8s.io/client-go/pkg/api", "//vendor:k8s.io/client-go/rest", ], ) @@ -10523,7 +10519,6 @@ go_test( library = ":k8s.io/apiserver/pkg/server/options", tags = ["automanaged"], deps = [ - "//pkg/client/clientset_generated/clientset:go_default_library", "//vendor:github.com/stretchr/testify/assert", "//vendor:k8s.io/apimachinery/pkg/runtime", "//vendor:k8s.io/apimachinery/pkg/runtime/serializer", @@ -10531,6 +10526,7 @@ go_test( "//vendor:k8s.io/apiserver/pkg/endpoints/request", "//vendor:k8s.io/apiserver/pkg/server", "//vendor:k8s.io/apiserver/pkg/util/flag", + "//vendor:k8s.io/client-go/discovery", "//vendor:k8s.io/client-go/rest", "//vendor:k8s.io/client-go/util/cert", ],