summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKiran Kamineni <kiran.k.kamineni@intel.com>2018-10-31 14:58:09 -0700
committerKiran Kamineni <kiran.k.kamineni@intel.com>2018-10-31 14:58:14 -0700
commit1e60c8f1bb01c8304a44948d890ade1e37fd2c6b (patch)
tree0d020225d3817ac705f8bd4b488b5f890a85ce51
parent3fec487b6db21303516380dbd7635978164bb8a7 (diff)
Migrate from dep to go mod
Migrate from dep to go mod which is native package management functionality in golang 1.11 Issue-ID: MULTICLOUD-392 Change-Id: I9a94cb38bd230738d7d0e586e6956b7a46472dd7 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
-rwxr-xr-xdeployments/start.sh2
-rw-r--r--src/k8splugin/Gopkg.lock463
-rw-r--r--src/k8splugin/Gopkg.toml46
-rw-r--r--src/k8splugin/Makefile10
-rw-r--r--src/k8splugin/go.mod36
-rw-r--r--src/k8splugin/go.sum63
6 files changed, 103 insertions, 517 deletions
diff --git a/deployments/start.sh b/deployments/start.sh
index 19c5ff8c..49f1bfbb 100755
--- a/deployments/start.sh
+++ b/deployments/start.sh
@@ -31,5 +31,5 @@ export NO_PROXY=$NO_PROXY,$DATABASE_IP
echo "Compiling source code"
pushd $k8s_path/src/k8splugin/
make plugins
-go run cmd/main.go
+env GO111MODULE=on go run cmd/main.go
popd
diff --git a/src/k8splugin/Gopkg.lock b/src/k8splugin/Gopkg.lock
deleted file mode 100644
index 26ada7aa..00000000
--- a/src/k8splugin/Gopkg.lock
+++ /dev/null
@@ -1,463 +0,0 @@
-# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.
-
-
-[[projects]]
- digest = "1:2cd7915ab26ede7d95b8749e6b1f933f1c6d5398030684e6505940a10f31cfda"
- name = "github.com/ghodss/yaml"
- packages = ["."]
- pruneopts = "UT"
- revision = "0ca9ea5df5451ffdf184b4428c902747c2c11cd7"
- version = "v1.0.0"
-
-[[projects]]
- digest = "1:a7534feda0f15b5fd691e59e4fb6b7547e27df4b415a62e02c7cb71b3439c1b1"
- name = "github.com/gogo/protobuf"
- packages = [
- "proto",
- "sortkeys",
- ]
- pruneopts = "UT"
- revision = "1adfc126b41513cc696b209667c8656ea7aac67c"
- version = "v1.0.0"
-
-[[projects]]
- branch = "master"
- digest = "1:1ba1d79f2810270045c328ae5d674321db34e3aae468eb4233883b473c5c0467"
- name = "github.com/golang/glog"
- packages = ["."]
- pruneopts = "UT"
- revision = "23def4e6c14b4da8ac2ed8007337bc5eb5007998"
-
-[[projects]]
- digest = "1:17fe264ee908afc795734e8c4e63db2accabaf57326dbf21763a7d6b86096260"
- name = "github.com/golang/protobuf"
- packages = [
- "proto",
- "ptypes",
- "ptypes/any",
- "ptypes/duration",
- "ptypes/timestamp",
- ]
- pruneopts = "UT"
- revision = "b4deda0973fb4c70b50d226b1af49f3da59f5265"
- version = "v1.1.0"
-
-[[projects]]
- branch = "master"
- digest = "1:3ee90c0d94da31b442dde97c99635aaafec68d0b8a3c12ee2075c6bdabeec6bb"
- name = "github.com/google/gofuzz"
- packages = ["."]
- pruneopts = "UT"
- revision = "24818f796faf91cd76ec7bddd72458fbced7a6c1"
-
-[[projects]]
- digest = "1:65c4414eeb350c47b8de71110150d0ea8a281835b1f386eacaa3ad7325929c21"
- name = "github.com/googleapis/gnostic"
- packages = [
- "OpenAPIv2",
- "compiler",
- "extensions",
- ]
- pruneopts = "UT"
- revision = "7c663266750e7d82587642f65e60bc4083f1f84e"
- version = "v0.2.0"
-
-[[projects]]
- digest = "1:c79fb010be38a59d657c48c6ba1d003a8aa651fa56b579d959d74573b7dff8e1"
- name = "github.com/gorilla/context"
- packages = ["."]
- pruneopts = "UT"
- revision = "08b5f424b9271eedf6f9f0ce86cb9396ed337a42"
- version = "v1.1.1"
-
-[[projects]]
- digest = "1:185a43b59a1f4e7ad4e7ccafb8a1538193d897a2a75be16dda093ec42ad231cf"
- name = "github.com/gorilla/handlers"
- packages = ["."]
- pruneopts = "UT"
- revision = "90663712d74cb411cbef281bc1e08c19d1a76145"
- version = "v1.3.0"
-
-[[projects]]
- digest = "1:e73f5b0152105f18bc131fba127d9949305c8693f8a762588a82a48f61756f5f"
- name = "github.com/gorilla/mux"
- packages = ["."]
- pruneopts = "UT"
- revision = "e3702bed27f0d39777b0b37b664b6280e8ef8fbf"
- version = "v1.6.2"
-
-[[projects]]
- digest = "1:f8cb7c367c825e0c0be75f17e9b003d39b1240a1535fbbf095a18d7bb0d0c9c9"
- name = "github.com/hashicorp/consul"
- packages = ["api"]
- pruneopts = "UT"
- revision = "e716d1b5f8be252b3e53906c6d5632e0228f30fa"
- version = "v1.2.2"
-
-[[projects]]
- branch = "master"
- digest = "1:77cb3be9b21ba7f1a4701e870c84ea8b66e7d74c7c8951c58155fdadae9414ec"
- name = "github.com/hashicorp/go-cleanhttp"
- packages = ["."]
- pruneopts = "UT"
- revision = "d5fe4b57a186c716b0e00b8c301cbd9b4182694d"
-
-[[projects]]
- branch = "master"
- digest = "1:45aad874d3c7d5e8610427c81870fb54970b981692930ec2a319ce4cb89d7a00"
- name = "github.com/hashicorp/go-rootcerts"
- packages = ["."]
- pruneopts = "UT"
- revision = "6bb64b370b90e7ef1fa532be9e591a81c3493e00"
-
-[[projects]]
- digest = "1:0dd7b7b01769f9df356dc99f9e4144bdbabf6c79041ea7c0892379c5737f3c44"
- name = "github.com/hashicorp/serf"
- packages = ["coordinate"]
- pruneopts = "UT"
- revision = "d6574a5bb1226678d7010325fb6c985db20ee458"
- version = "v0.8.1"
-
-[[projects]]
- branch = "master"
- digest = "1:0778dc7fce1b4669a8bfa7ae506ec1f595b6ab0f8989c1c0d22a8ca1144e9972"
- name = "github.com/howeyc/gopass"
- packages = ["."]
- pruneopts = "UT"
- revision = "bf9dde6d0d2c004a008c27aaee91170c786f6db8"
-
-[[projects]]
- digest = "1:3e260afa138eab6492b531a3b3d10ab4cb70512d423faa78b8949dec76e66a21"
- name = "github.com/imdario/mergo"
- packages = ["."]
- pruneopts = "UT"
- revision = "9316a62528ac99aaecb4e47eadd6dc8aa6533d58"
- version = "v0.3.5"
-
-[[projects]]
- digest = "1:b1d4df033414c1a0d85fa7037b9aaf03746314811c860a95ea2d5fd481cd6c35"
- name = "github.com/json-iterator/go"
- packages = ["."]
- pruneopts = "UT"
- revision = "ca39e5af3ece67bbcda3d0f4f56a8e24d9f2dad4"
- version = "1.1.3"
-
-[[projects]]
- branch = "master"
- digest = "1:c7354463195544b1ab3c1f1fadb41430947f5d28dfbf2cdbd38268c5717a5a03"
- name = "github.com/mitchellh/go-homedir"
- packages = ["."]
- pruneopts = "UT"
- revision = "58046073cbffe2f25d425fe1331102f55cf719de"
-
-[[projects]]
- branch = "master"
- digest = "1:5ab79470a1d0fb19b041a624415612f8236b3c06070161a910562f2b2d064355"
- name = "github.com/mitchellh/mapstructure"
- packages = ["."]
- pruneopts = "UT"
- revision = "f15292f7a699fcc1a38a80977f80a046874ba8ac"
-
-[[projects]]
- digest = "1:33422d238f147d247752996a26574ac48dcf472976eda7f5134015f06bf16563"
- name = "github.com/modern-go/concurrent"
- packages = ["."]
- pruneopts = "UT"
- revision = "bacd9c7ef1dd9b15be4a9909b8ac7a4e313eec94"
- version = "1.0.3"
-
-[[projects]]
- digest = "1:d711dfcf661439f1ef0b202a02e8a1ff4deac48f26f34253520dcdbecbd7c5f1"
- name = "github.com/modern-go/reflect2"
- packages = ["."]
- pruneopts = "UT"
- revision = "1df9eeb2bb81f327b96228865c5687bc2194af3f"
- version = "1.0.0"
-
-[[projects]]
- digest = "1:40e195917a951a8bf867cd05de2a46aaf1806c50cf92eebf4c16f78cd196f747"
- name = "github.com/pkg/errors"
- packages = ["."]
- pruneopts = "UT"
- revision = "645ef00459ed84a119197bfb8d8205042c6df63d"
- version = "v0.8.0"
-
-[[projects]]
- digest = "1:9424f440bba8f7508b69414634aef3b2b3a877e522d8a4624692412805407bb7"
- name = "github.com/spf13/pflag"
- packages = ["."]
- pruneopts = "UT"
- revision = "583c0c0531f06d5278b7d917446061adc344b5cd"
- version = "v1.0.1"
-
-[[projects]]
- branch = "master"
- digest = "1:3f3a05ae0b95893d90b9b3b5afdb79a9b3d96e4e36e099d841ae602e4aca0da8"
- name = "golang.org/x/crypto"
- packages = ["ssh/terminal"]
- pruneopts = "UT"
- revision = "8ac0e0d97ce45cd83d1d7243c060cb8461dda5e9"
-
-[[projects]]
- branch = "master"
- digest = "1:744c660df137698628b28f30474e61775bc777adacf8b751c160748be01f17f5"
- name = "golang.org/x/net"
- packages = [
- "context",
- "http/httpguts",
- "http2",
- "http2/hpack",
- "idna",
- ]
- pruneopts = "UT"
- revision = "db08ff08e8622530d9ed3a0e8ac279f6d4c02196"
-
-[[projects]]
- branch = "master"
- digest = "1:51c25fd91b64d31919dd9ff63f8d8334d2687b72e5517019e1a9a5e1d55cb6c7"
- name = "golang.org/x/sys"
- packages = [
- "unix",
- "windows",
- ]
- pruneopts = "UT"
- revision = "bff228c7b664c5fce602223a05fb708fd8654986"
-
-[[projects]]
- digest = "1:a2ab62866c75542dd18d2b069fec854577a20211d7c0ea6ae746072a1dccdd18"
- name = "golang.org/x/text"
- packages = [
- "collate",
- "collate/build",
- "internal/colltab",
- "internal/gen",
- "internal/tag",
- "internal/triegen",
- "internal/ucd",
- "language",
- "secure/bidirule",
- "transform",
- "unicode/bidi",
- "unicode/cldr",
- "unicode/norm",
- "unicode/rangetable",
- ]
- pruneopts = "UT"
- revision = "f21a4dfb5e38f5895301dc265a8def02365cc3d0"
- version = "v0.3.0"
-
-[[projects]]
- branch = "master"
- digest = "1:c9e7a4b4d47c0ed205d257648b0e5b0440880cb728506e318f8ac7cd36270bc4"
- name = "golang.org/x/time"
- packages = ["rate"]
- pruneopts = "UT"
- revision = "fbb02b2291d28baffd63558aa44b4b56f178d650"
-
-[[projects]]
- digest = "1:2d1fbdc6777e5408cabeb02bf336305e724b925ff4546ded0fa8715a7267922a"
- name = "gopkg.in/inf.v0"
- packages = ["."]
- pruneopts = "UT"
- revision = "d2d2541c53f18d2a059457998ce2876cc8e67cbf"
- version = "v0.9.1"
-
-[[projects]]
- digest = "1:342378ac4dcb378a5448dd723f0784ae519383532f5e70ade24132c4c8693202"
- name = "gopkg.in/yaml.v2"
- packages = ["."]
- pruneopts = "UT"
- revision = "5420a8b6744d3b0345ab293f6fcba19c978f1183"
- version = "v2.2.1"
-
-[[projects]]
- branch = "master"
- digest = "1:49f1d14e8a7598add90c73c5a3833fdf8871df947c95dde9ed6f325a35e2ef71"
- name = "k8s.io/api"
- packages = [
- "admissionregistration/v1alpha1",
- "admissionregistration/v1beta1",
- "apps/v1",
- "apps/v1beta1",
- "apps/v1beta2",
- "authentication/v1",
- "authentication/v1beta1",
- "authorization/v1",
- "authorization/v1beta1",
- "autoscaling/v1",
- "autoscaling/v2beta1",
- "batch/v1",
- "batch/v1beta1",
- "batch/v2alpha1",
- "certificates/v1beta1",
- "core/v1",
- "events/v1beta1",
- "extensions/v1beta1",
- "networking/v1",
- "policy/v1beta1",
- "rbac/v1",
- "rbac/v1alpha1",
- "rbac/v1beta1",
- "scheduling/v1alpha1",
- "settings/v1alpha1",
- "storage/v1",
- "storage/v1alpha1",
- "storage/v1beta1",
- ]
- pruneopts = "UT"
- revision = "72d6e4405f8143815cbd454ab04b38210a9f32fc"
-
-[[projects]]
- digest = "1:091cf6a03915f282323094c997f565fef776fce3b5a253cc10b8a5bcbafdfd28"
- name = "k8s.io/apimachinery"
- packages = [
- "pkg/api/errors",
- "pkg/api/meta",
- "pkg/api/resource",
- "pkg/apis/meta/v1",
- "pkg/apis/meta/v1/unstructured",
- "pkg/apis/meta/v1beta1",
- "pkg/conversion",
- "pkg/conversion/queryparams",
- "pkg/fields",
- "pkg/labels",
- "pkg/runtime",
- "pkg/runtime/schema",
- "pkg/runtime/serializer",
- "pkg/runtime/serializer/json",
- "pkg/runtime/serializer/protobuf",
- "pkg/runtime/serializer/recognizer",
- "pkg/runtime/serializer/streaming",
- "pkg/runtime/serializer/versioning",
- "pkg/selection",
- "pkg/types",
- "pkg/util/clock",
- "pkg/util/errors",
- "pkg/util/framer",
- "pkg/util/intstr",
- "pkg/util/json",
- "pkg/util/net",
- "pkg/util/runtime",
- "pkg/util/sets",
- "pkg/util/validation",
- "pkg/util/validation/field",
- "pkg/util/wait",
- "pkg/util/yaml",
- "pkg/version",
- "pkg/watch",
- "third_party/forked/golang/reflect",
- ]
- pruneopts = "UT"
- revision = "31dade610c053669d8054bfd847da657251e8c1a"
- version = "kubernetes-1.10.3"
-
-[[projects]]
- digest = "1:490b16761d2ded2729bf4e262eedc2d0df8b57d6f7d4f60a2893bb24be108331"
- name = "k8s.io/client-go"
- packages = [
- "discovery",
- "discovery/fake",
- "kubernetes",
- "kubernetes/fake",
- "kubernetes/scheme",
- "kubernetes/typed/admissionregistration/v1alpha1",
- "kubernetes/typed/admissionregistration/v1alpha1/fake",
- "kubernetes/typed/admissionregistration/v1beta1",
- "kubernetes/typed/admissionregistration/v1beta1/fake",
- "kubernetes/typed/apps/v1",
- "kubernetes/typed/apps/v1/fake",
- "kubernetes/typed/apps/v1beta1",
- "kubernetes/typed/apps/v1beta1/fake",
- "kubernetes/typed/apps/v1beta2",
- "kubernetes/typed/apps/v1beta2/fake",
- "kubernetes/typed/authentication/v1",
- "kubernetes/typed/authentication/v1/fake",
- "kubernetes/typed/authentication/v1beta1",
- "kubernetes/typed/authentication/v1beta1/fake",
- "kubernetes/typed/authorization/v1",
- "kubernetes/typed/authorization/v1/fake",
- "kubernetes/typed/authorization/v1beta1",
- "kubernetes/typed/authorization/v1beta1/fake",
- "kubernetes/typed/autoscaling/v1",
- "kubernetes/typed/autoscaling/v1/fake",
- "kubernetes/typed/autoscaling/v2beta1",
- "kubernetes/typed/autoscaling/v2beta1/fake",
- "kubernetes/typed/batch/v1",
- "kubernetes/typed/batch/v1/fake",
- "kubernetes/typed/batch/v1beta1",
- "kubernetes/typed/batch/v1beta1/fake",
- "kubernetes/typed/batch/v2alpha1",
- "kubernetes/typed/batch/v2alpha1/fake",
- "kubernetes/typed/certificates/v1beta1",
- "kubernetes/typed/certificates/v1beta1/fake",
- "kubernetes/typed/core/v1",
- "kubernetes/typed/core/v1/fake",
- "kubernetes/typed/events/v1beta1",
- "kubernetes/typed/events/v1beta1/fake",
- "kubernetes/typed/extensions/v1beta1",
- "kubernetes/typed/extensions/v1beta1/fake",
- "kubernetes/typed/networking/v1",
- "kubernetes/typed/networking/v1/fake",
- "kubernetes/typed/policy/v1beta1",
- "kubernetes/typed/policy/v1beta1/fake",
- "kubernetes/typed/rbac/v1",
- "kubernetes/typed/rbac/v1/fake",
- "kubernetes/typed/rbac/v1alpha1",
- "kubernetes/typed/rbac/v1alpha1/fake",
- "kubernetes/typed/rbac/v1beta1",
- "kubernetes/typed/rbac/v1beta1/fake",
- "kubernetes/typed/scheduling/v1alpha1",
- "kubernetes/typed/scheduling/v1alpha1/fake",
- "kubernetes/typed/settings/v1alpha1",
- "kubernetes/typed/settings/v1alpha1/fake",
- "kubernetes/typed/storage/v1",
- "kubernetes/typed/storage/v1/fake",
- "kubernetes/typed/storage/v1alpha1",
- "kubernetes/typed/storage/v1alpha1/fake",
- "kubernetes/typed/storage/v1beta1",
- "kubernetes/typed/storage/v1beta1/fake",
- "pkg/apis/clientauthentication",
- "pkg/apis/clientauthentication/v1alpha1",
- "pkg/version",
- "plugin/pkg/client/auth/exec",
- "rest",
- "rest/watch",
- "testing",
- "tools/auth",
- "tools/clientcmd",
- "tools/clientcmd/api",
- "tools/clientcmd/api/latest",
- "tools/clientcmd/api/v1",
- "tools/metrics",
- "tools/reference",
- "transport",
- "util/cert",
- "util/flowcontrol",
- "util/homedir",
- "util/integer",
- ]
- pruneopts = "UT"
- revision = "23781f4d6632d88e869066eaebb743857aa1ef9b"
- version = "v7.0.0"
-
-[solve-meta]
- analyzer-name = "dep"
- analyzer-version = 1
- input-imports = [
- "github.com/gorilla/handlers",
- "github.com/gorilla/mux",
- "github.com/hashicorp/consul/api",
- "github.com/pkg/errors",
- "gopkg.in/yaml.v2",
- "k8s.io/api/apps/v1",
- "k8s.io/api/core/v1",
- "k8s.io/apimachinery/pkg/apis/meta/v1",
- "k8s.io/apimachinery/pkg/runtime",
- "k8s.io/client-go/kubernetes",
- "k8s.io/client-go/kubernetes/fake",
- "k8s.io/client-go/kubernetes/scheme",
- "k8s.io/client-go/tools/clientcmd",
- "k8s.io/client-go/util/homedir",
- ]
- solver-name = "gps-cdcl"
- solver-version = 1
diff --git a/src/k8splugin/Gopkg.toml b/src/k8splugin/Gopkg.toml
deleted file mode 100644
index 219b502d..00000000
--- a/src/k8splugin/Gopkg.toml
+++ /dev/null
@@ -1,46 +0,0 @@
-# Gopkg.toml example
-#
-# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
-# for detailed Gopkg.toml documentation.
-#
-# required = ["github.com/user/thing/cmd/thing"]
-# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
-#
-# [[constraint]]
-# name = "github.com/user/project"
-# version = "1.0.0"
-#
-# [[constraint]]
-# name = "github.com/user/project2"
-# branch = "dev"
-# source = "github.com/myfork/project2"
-#
-# [[override]]
-# name = "github.com/x/y"
-# version = "2.4.0"
-#
-# [prune]
-# non-go = false
-# go-tests = true
-# unused-packages = true
-
-
-[[constraint]]
- branch = "master"
- name = "k8s.io/api"
-
-[[constraint]]
- name = "k8s.io/apimachinery"
- version = "kubernetes-1.10.3"
-
-[[constraint]]
- name = "k8s.io/client-go"
- version = "7.0.0"
-
-[prune]
- go-tests = true
- unused-packages = true
-
-[[constraint]]
- name = "github.com/pkg/errors"
- version = "0.8.0"
diff --git a/src/k8splugin/Makefile b/src/k8splugin/Makefile
index 0bc0cd55..2b9f0994 100644
--- a/src/k8splugin/Makefile
+++ b/src/k8splugin/Makefile
@@ -8,14 +8,14 @@
##############################################################################
GOPATH := $(shell realpath "$(PWD)/../../")
-DEPENDENCIES := github.com/golang/dep/cmd/dep
export GOPATH ...
+export GO111MODULE=on
.PHONY: plugins
-all: clean dep
+all: clean
CGO_ENABLED=1 GOOS=linux GOARCH=amd64
@find plugins -type d -not -path plugins -exec sh -c "ls {}/plugin.go | xargs go build -buildmode=plugin -a -tags netgo -o $(basename {}).so" \;
@go build -a -tags netgo -o ./k8plugin ./cmd/main.go
@@ -24,7 +24,7 @@ all: clean dep
# no need to create a static binary with additional flags. However, for generating binary, additional build flags are necessary. This if used with
# mock plugin errors out for unit tests. So the seperation avoids the error.
-build: clean dep plugins test cover
+build: clean plugins test cover
deploy: build
.PHONY: test
@@ -45,10 +45,6 @@ format:
plugins:
@find plugins -type d -not -path plugins -exec sh -c "ls {}/plugin.go | xargs go build -buildmode=plugin -o $(basename {}).so" \;
-dep:
- @go get -u $(DEPENDENCIES)
- $(GOPATH)/bin/dep ensure
-
clean:
find . -name "*so" -delete
@rm -f k8plugin
diff --git a/src/k8splugin/go.mod b/src/k8splugin/go.mod
new file mode 100644
index 00000000..3652afba
--- /dev/null
+++ b/src/k8splugin/go.mod
@@ -0,0 +1,36 @@
+module k8splugin
+
+require (
+ github.com/ghodss/yaml v1.0.0
+ github.com/gogo/protobuf v1.0.0
+ github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
+ github.com/golang/protobuf v1.1.0
+ github.com/google/gofuzz v0.0.0-20170612174753-24818f796faf
+ github.com/googleapis/gnostic v0.2.0
+ github.com/gorilla/context v1.1.1
+ github.com/gorilla/handlers v1.3.0
+ github.com/gorilla/mux v1.6.2
+ github.com/hashicorp/consul v1.2.2
+ github.com/hashicorp/go-cleanhttp v0.0.0-20171218145408-d5fe4b57a186
+ github.com/hashicorp/go-rootcerts v0.0.0-20160503143440-6bb64b370b90
+ github.com/hashicorp/serf v0.8.1
+ github.com/howeyc/gopass v0.0.0-20170109162249-bf9dde6d0d2c
+ github.com/imdario/mergo v0.3.5
+ github.com/json-iterator/go v0.0.0-20180315132816-ca39e5af3ece
+ github.com/mitchellh/go-homedir v0.0.0-20180801233206-58046073cbff
+ github.com/mitchellh/mapstructure v0.0.0-20180715050151-f15292f7a699
+ github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
+ github.com/modern-go/reflect2 v0.0.0-20180228065516-1df9eeb2bb81
+ github.com/pkg/errors v0.8.0
+ github.com/spf13/pflag v1.0.1
+ golang.org/x/crypto v0.0.0-20180608092829-8ac0e0d97ce4
+ golang.org/x/net v0.0.0-20180611182652-db08ff08e862
+ golang.org/x/sys v0.0.0-20180611080425-bff228c7b664
+ golang.org/x/text v0.3.0
+ golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2
+ gopkg.in/inf.v0 v0.9.1
+ gopkg.in/yaml.v2 v2.2.1
+ k8s.io/api v0.0.0-20180607235014-72d6e4405f81
+ k8s.io/apimachinery v0.0.0-20180515182440-31dade610c05
+ k8s.io/client-go v7.0.0+incompatible
+)
diff --git a/src/k8splugin/go.sum b/src/k8splugin/go.sum
new file mode 100644
index 00000000..56311a99
--- /dev/null
+++ b/src/k8splugin/go.sum
@@ -0,0 +1,63 @@
+github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk=
+github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
+github.com/gogo/protobuf v1.0.0 h1:2jyBKDKU/8v3v2xVR2PtiWQviFUyiaGk2rpfyFT8rTM=
+github.com/gogo/protobuf v1.0.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
+github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58=
+github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
+github.com/golang/protobuf v1.1.0 h1:0iH4Ffd/meGoXqF2lSAhZHt8X+cPgkfn/cb6Cce5Vpc=
+github.com/golang/protobuf v1.1.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
+github.com/google/gofuzz v0.0.0-20170612174753-24818f796faf h1:+RRA9JqSOZFfKrOeqr2z77+8R2RKyh8PG66dcu1V0ck=
+github.com/google/gofuzz v0.0.0-20170612174753-24818f796faf/go.mod h1:HP5RmnzzSNb993RKQDq4+1A4ia9nllfqcQFTQJedwGI=
+github.com/googleapis/gnostic v0.2.0 h1:l6N3VoaVzTncYYW+9yOz2LJJammFZGBO13sqgEhpy9g=
+github.com/googleapis/gnostic v0.2.0/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY=
+github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg=
+github.com/gorilla/handlers v1.3.0 h1:tsg9qP3mjt1h4Roxp+M1paRjrVBfPSOpBuVclh6YluI=
+github.com/gorilla/handlers v1.3.0/go.mod h1:Qkdc/uu4tH4g6mTK6auzZ766c4CA0Ng8+o/OAirnOIQ=
+github.com/gorilla/mux v1.6.2 h1:Pgr17XVTNXAk3q/r4CpKzC5xBM/qW1uVLV+IhRZpIIk=
+github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs=
+github.com/hashicorp/consul v1.2.2 h1:C5FurAZWLQ+XAjmL9g6rXbPlwxyyz8DvTL0WCAxTLAo=
+github.com/hashicorp/consul v1.2.2/go.mod h1:mFrjN1mfidgJfYP1xrJCF+AfRhr6Eaqhb2+sfyn/OOI=
+github.com/hashicorp/go-cleanhttp v0.0.0-20171218145408-d5fe4b57a186 h1:URgjUo+bs1KwatoNbwG0uCO4dHN4r1jsp4a5AGgHRjo=
+github.com/hashicorp/go-cleanhttp v0.0.0-20171218145408-d5fe4b57a186/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80=
+github.com/hashicorp/go-rootcerts v0.0.0-20160503143440-6bb64b370b90 h1:9HVkPxOpo+yO93Ah4yrO67d/qh0fbLLWbKqhYjyHq9A=
+github.com/hashicorp/go-rootcerts v0.0.0-20160503143440-6bb64b370b90/go.mod h1:o4zcYY1e0GEZI6eSEr+43QDYmuGglw1qSO6qdHUHCgg=
+github.com/hashicorp/serf v0.8.1 h1:mYs6SMzu72+90OcPa5wr3nfznA4Dw9UyR791ZFNOIf4=
+github.com/hashicorp/serf v0.8.1/go.mod h1:h/Ru6tmZazX7WO/GDmwdpS975F019L4t5ng5IgwbNrE=
+github.com/howeyc/gopass v0.0.0-20170109162249-bf9dde6d0d2c h1:kQWxfPIHVLbgLzphqk3QUflDy9QdksZR4ygR807bpy0=
+github.com/howeyc/gopass v0.0.0-20170109162249-bf9dde6d0d2c/go.mod h1:lADxMC39cJJqL93Duh1xhAs4I2Zs8mKS89XWXFGp9cs=
+github.com/imdario/mergo v0.3.5 h1:JboBksRwiiAJWvIYJVo46AfV+IAIKZpfrSzVKj42R4Q=
+github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA=
+github.com/json-iterator/go v0.0.0-20180315132816-ca39e5af3ece h1:3HJXp/18JmMk5sjBP3LDUBtWjczCvynxaeAF6b6kWp8=
+github.com/json-iterator/go v0.0.0-20180315132816-ca39e5af3ece/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
+github.com/mitchellh/go-homedir v0.0.0-20180801233206-58046073cbff/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
+github.com/mitchellh/mapstructure v0.0.0-20180715050151-f15292f7a699 h1:KXZJFdun9knAVAR8tg/aHJEr5DgtcbqyvzacK+CDCaI=
+github.com/mitchellh/mapstructure v0.0.0-20180715050151-f15292f7a699/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
+github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
+github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
+github.com/modern-go/reflect2 v0.0.0-20180228065516-1df9eeb2bb81 h1:ImOHKpmdLPXWX5KSYquUWXKaopEPuY7TPPUo18u9aOI=
+github.com/modern-go/reflect2 v0.0.0-20180228065516-1df9eeb2bb81/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
+github.com/pkg/errors v0.8.0 h1:WdK/asTD0HN+q6hsWO3/vpuAkAr+tw6aNJNDFFf0+qw=
+github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
+github.com/spf13/pflag v1.0.1 h1:aCvUg6QPl3ibpQUxyLkrEkCHtPqYJL4x9AuhqVqFis4=
+github.com/spf13/pflag v1.0.1/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
+golang.org/x/crypto v0.0.0-20180608092829-8ac0e0d97ce4 h1:wviDUSmtheHRBfoY8B9U8ELl2USoXi2YFwdGdpIIkzI=
+golang.org/x/crypto v0.0.0-20180608092829-8ac0e0d97ce4/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
+golang.org/x/net v0.0.0-20180611182652-db08ff08e862 h1:JZi6BqOZ+iSgmLWe6llhGrNnEnK+YB/MRkStwnEfbqM=
+golang.org/x/net v0.0.0-20180611182652-db08ff08e862/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/sys v0.0.0-20180611080425-bff228c7b664 h1:GvcVmbE8Pa64iW3MTrVA9mxHx1HEjSSWV6zF1JSlFcg=
+golang.org/x/sys v0.0.0-20180611080425-bff228c7b664/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg=
+golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
+golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2 h1:+DCIGbF/swA92ohVg0//6X2IVY3KZs6p9mix0ziNYJM=
+golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
+gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc=
+gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw=
+gopkg.in/yaml.v2 v2.2.1 h1:mUhvW9EsL+naU5Q3cakzfE91YhliOondGd6ZrsDBHQE=
+gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+k8s.io/api v0.0.0-20180607235014-72d6e4405f81 h1:OTYaNzRYUjk5sXxfClCTJnBBDAxI43KuldJtfjxx2fE=
+k8s.io/api v0.0.0-20180607235014-72d6e4405f81/go.mod h1:iuAfoD4hCxJ8Onx9kaTIt30j7jUFS00AXQi6QMi99vA=
+k8s.io/apimachinery v0.0.0-20180515182440-31dade610c05 h1:IxbzCht0hGNBVprna3ou1lB+jvFGT2Sh83htT2jL4sk=
+k8s.io/apimachinery v0.0.0-20180515182440-31dade610c05/go.mod h1:ccL7Eh7zubPUSh9A3USN90/OzHNSVN6zxzde07TDCL0=
+k8s.io/client-go v7.0.0+incompatible h1:gokIETH5yPpln/LuXmg1TLVH5bMSaVQTVxuRizwjWwU=
+k8s.io/client-go v7.0.0+incompatible/go.mod h1:7vJpHMYJwNQCWgzmNV+VYUl1zCObLyodBc8nIyt8L5s=