Skip to content

Commit f97eef3

Browse files
authored
Merge pull request #5703 from carsonoid/kubernetestopo
Add Kubernetes topo implementation
2 parents 9e74b07 + 72f1423 commit f97eef3

56 files changed

Lines changed: 3429 additions & 19 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/local_example.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ on: [push, pull_request]
33
jobs:
44

55
build:
6-
name: Local Example on ${{ matrix.os }}
6+
name: Local example using ${{ matrix.topo }} on ${{ matrix.os }}
77
runs-on: ${{ matrix.os }}
88
strategy:
99
matrix:
1010
os: [ubuntu-latest]
11+
topo: [etcd,k8s]
1112

1213
steps:
1314

@@ -43,6 +44,7 @@ jobs:
4344
4445
- name: local_example
4546
run: |
47+
export TOPO=${{matrix.topo}}
4648
if [ ${{matrix.os}} = "macos-latest" ]; then
4749
export PATH="/usr/local/opt/mysql@5.7/bin:$PATH"
4850
fi

‎Makefile‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,3 +332,25 @@ minimaltools:
332332

333333
dependency_check:
334334
./tools/dependency_check.sh
335+
336+
GEN_BASE_DIR ?= ./go/vt/topo/k8stopo
337+
338+
client_go_gen:
339+
echo $$(date): Regenerating client-go code
340+
# Delete and re-generate the deepcopy types
341+
find $(GEN_BASE_DIR)/apis/topo/v1beta1 -type f -name 'zz_generated*' -exec rm '{}' \;
342+
deepcopy-gen -i $(GEN_BASE_DIR)/apis/topo/v1beta1 -O zz_generated.deepcopy -o ./ --bounding-dirs $(GEN_BASE_DIR)/apis --go-header-file $(GEN_BASE_DIR)/boilerplate.go.txt
343+
344+
# Delete, generate, and move the client libraries
345+
rm -rf go/vt/topo/k8stopo/client
346+
347+
# There is no way to get client-gen to automatically put files in the right place and still have the right import path so we generate and move them
348+
349+
# Generate client, informers, and listers
350+
client-gen -o ./ --input 'topo/v1beta1' --clientset-name versioned --input-base 'vitess.io/vitess/go/vt/topo/k8stopo/apis/' -i vitess.io/vitess --output-package vitess.io/vitess/go/vt/topo/k8stopo/client/clientset --go-header-file $(GEN_BASE_DIR)/boilerplate.go.txt
351+
lister-gen -o ./ --input-dirs vitess.io/vitess/go/vt/topo/k8stopo/apis/topo/v1beta1 --output-package vitess.io/vitess/go/vt/topo/k8stopo/client/listers --go-header-file $(GEN_BASE_DIR)/boilerplate.go.txt
352+
informer-gen -o ./ --input-dirs vitess.io/vitess/go/vt/topo/k8stopo/apis/topo/v1beta1 --versioned-clientset-package vitess.io/vitess/go/vt/topo/k8stopo/client/clientset/versioned --listers-package vitess.io/vitess/go/vt/topo/k8stopo/client/listers --output-package vitess.io/vitess/go/vt/topo/k8stopo/client/informers --go-header-file $(GEN_BASE_DIR)/boilerplate.go.txt
353+
354+
# Move and cleanup
355+
mv vitess.io/vitess/go/vt/topo/k8stopo/client go/vt/topo/k8stopo/
356+
rmdir -p vitess.io/vitess/go/vt/topo/k8stopo/

‎bootstrap.sh‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,33 @@ function install_etcd() {
165165
command -v etcd && echo "etcd already installed" || install_dep "etcd" "v3.3.10" "$VTROOT/dist/etcd" install_etcd
166166

167167

168+
# Download and install k3s, link k3s binary into our root
169+
function install_k3s() {
170+
local version="$1"
171+
local dist="$2"
172+
173+
case $(uname) in
174+
Linux) local platform=linux;;
175+
*) echo "ERROR: unsupported platform. K3s only supports running on Linux"; exit 1;;
176+
esac
177+
178+
case $(get_arch) in
179+
aarch64) local target="-arm64";;
180+
x86_64) local target="";;
181+
*) echo "ERROR: unsupported architecture"; exit 1;;
182+
esac
183+
184+
download_url=https://github.com/rancher/k3s/releases/download
185+
file="k3s${target}"
186+
187+
local dest="$dist/k3s${target}-${version}-${platform}"
188+
wget -O $dest "$download_url/$version/$file"
189+
chmod +x $dest
190+
ln -snf $dest "$VTROOT/bin/k3s"
191+
}
192+
command -v k3s || install_dep "k3s" "v1.0.0" "$VTROOT/dist/k3s" install_k3s
193+
194+
168195
# Download and install consul, link consul binary into our root.
169196
function install_consul() {
170197
local version="$1"

‎examples/local/101_initial_cluster.sh‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ source ./env.sh
2121

2222
# start topo server
2323
if [ "${TOPO}" = "zk2" ]; then
24-
CELL=zone1 ./scripts/zk-up.sh
24+
CELL=zone1 ./scripts/zk-up.sh
25+
elif [ "${TOPO}" = "k8s" ]; then
26+
CELL=zone1 ./scripts/k3s-up.sh
2527
else
2628
CELL=zone1 ./scripts/etcd-up.sh
2729
fi

‎examples/local/401_teardown.sh‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ done
3636

3737
if [ "${TOPO}" = "zk2" ]; then
3838
CELL=zone1 ./scripts/zk-down.sh
39+
elif [ "${TOPO}" = "k8s" ]; then
40+
CELL=zone1 ./scripts/k3s-down.sh
3941
else
4042
CELL=zone1 ./scripts/etcd-down.sh
4143
fi

‎examples/local/env.sh‎

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ fi
3131

3232
# mysqld might be in /usr/sbin which will not be in the default PATH
3333
PATH="/usr/sbin:$PATH"
34-
for binary in mysqld etcd etcdctl curl vtctlclient vttablet vtgate vtctld mysqlctl; do
34+
for binary in mysqld etcd etcdctl curl vtctlclient vttablet vtgate vtctld vtctl mysqlctl; do
3535
command -v "$binary" > /dev/null || fail "${binary} is not installed in PATH. See https://vitess.io/docs/get-started/local/ for install instructions."
3636
done;
3737

@@ -54,12 +54,19 @@ if [ "${TOPO}" = "zk2" ]; then
5454
ZK_SERVER="localhost:21811,localhost:21812,localhost:21813"
5555
# shellcheck disable=SC2034
5656
TOPOLOGY_FLAGS="-topo_implementation zk2 -topo_global_server_address ${ZK_SERVER} -topo_global_root /vitess/global"
57-
58-
mkdir -p $VTDATAROOT/tmp
57+
elif [ "${TOPO}" = "k8s" ]; then
58+
# Set topology environment parameters.
59+
K8S_ADDR="localhost"
60+
K8S_PORT="8443"
61+
K8S_KUBECONFIG=$VTDATAROOT/tmp/k8s.kubeconfig
62+
# shellcheck disable=SC2034
63+
TOPOLOGY_FLAGS="-topo_implementation k8s -topo_k8s_kubeconfig ${K8S_KUBECONFIG} -topo_global_server_address ${K8S_ADDR}:${K8S_PORT} -topo_global_root /vitess/global"
5964
else
6065
ETCD_SERVER="localhost:2379"
6166
TOPOLOGY_FLAGS="-topo_implementation etcd2 -topo_global_server_address $ETCD_SERVER -topo_global_root /vitess/global"
6267

63-
mkdir -p "${VTDATAROOT}/tmp"
6468
mkdir -p "${VTDATAROOT}/etcd"
6569
fi
70+
71+
# Create a tmp dir
72+
mkdir -p "${VTDATAROOT}/tmp"

‎examples/local/scripts/k3s-down.sh‎

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#!/bin/bash
2+
3+
# Copyright 2019 The Vitess Authors.
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
17+
# This is an example script that stops the k3s server started by k3s-up.sh.
18+
19+
set -e
20+
21+
# shellcheck source=./env.sh
22+
# shellcheck disable=SC1091
23+
source ./env.sh
24+
25+
# Stop K3s server.
26+
echo "Stopping k3s server..."
27+
28+
pid=`cat $VTDATAROOT/tmp/k3s.pid`
29+
echo "Stopping k3s..."
30+
kill -9 $pid

‎examples/local/scripts/k3s-up.sh‎

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
#!/bin/bash
2+
3+
# Copyright 2019 The Vitess Authors.
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
17+
# This is an example script that creates a Kubernetes api for topo use by running k3s
18+
19+
set -e
20+
cell=${CELL:-'test'}
21+
22+
script_root=$(dirname "${BASH_SOURCE[0]}")
23+
24+
# shellcheck source=./env.sh
25+
# shellcheck disable=SC1091
26+
source ./env.sh
27+
28+
k3s server --disable-agent --data-dir "${VTDATAROOT}/k3s/" --https-listen-port "${K8S_PORT}" --write-kubeconfig "${K8S_KUBECONFIG}" > "${VTDATAROOT}"/tmp/k3s.out 2>&1 &
29+
PID=$!
30+
echo $PID > "${VTDATAROOT}/tmp/k3s.pid"
31+
disown -a
32+
echo "Waiting for k3s server to start"
33+
sleep 15
34+
35+
# Use k3s built-in kubectl with custom config
36+
KUBECTL="k3s kubectl --kubeconfig=${K8S_KUBECONFIG}"
37+
38+
# Create the CRD for vitesstopologynodes
39+
$KUBECTL create -f ../../go/vt/topo/k8stopo/VitessTopoNodes-crd.yaml
40+
41+
# Add the CellInfo description for the cell
42+
set +e
43+
echo "add $cell CellInfo"
44+
vtctl $TOPOLOGY_FLAGS AddCellInfo \
45+
-root /vitess/$cell \
46+
$cell
47+
set -e
48+
49+
echo "k3s start done..."

‎examples/local/topo-k8s.sh‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/bin/bash
2+
3+
# Copyright 2019 The Vitess Authors.
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
17+
# This is an example script that creates a single shard vttablet deployment.
18+
19+
export TOPO='k8s'
20+
21+

‎go.mod‎

Lines changed: 79 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,49 @@ require (
88
github.com/Azure/go-autorest/autorest/adal v0.8.1 // indirect
99
github.com/Bowery/prompt v0.0.0-20190419144237-972d0ceb96f5 // indirect
1010
github.com/GeertJohan/go.rice v1.0.0
11+
github.com/Jeffail/gabs v1.1.0 // indirect
12+
github.com/Microsoft/go-winio v0.4.3 // indirect
13+
github.com/NYTimes/gziphandler v1.0.1 // indirect
14+
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 // indirect
15+
github.com/SAP/go-hdb v0.12.0 // indirect
16+
github.com/SermoDigital/jose v0.0.0-20180104203859-803625baeddc // indirect
17+
github.com/abdullin/seq v0.0.0-20160510034733-d5467c17e7af // indirect
1118
github.com/armon/go-metrics v0.0.0-20190430140413-ec5e00d3c878 // indirect
1219
github.com/aws/aws-sdk-go v1.28.8
20+
github.com/bitly/go-hostpool v0.0.0-20171023180738-a3a6125de932 // indirect
21+
github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 // indirect
22+
github.com/boltdb/bolt v1.3.1 // indirect
1323
github.com/bombsimon/wsl v1.2.8 // indirect
24+
github.com/cenkalti/backoff v2.1.1+incompatible // indirect
1425
github.com/cespare/xxhash/v2 v2.1.1
1526
github.com/cockroachdb/cmux v0.0.0-20170110192607-30d10be49292 // indirect
1627
github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd // indirect
28+
github.com/containerd/continuity v0.0.0-20181203112020-004b46473808 // indirect
29+
github.com/coredns/coredns v1.1.2 // indirect
1730
github.com/coreos/etcd v3.3.10+incompatible
18-
github.com/coreos/go-semver v0.3.0 // indirect
1931
github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f // indirect
2032
github.com/corpix/uarand v0.1.1 // indirect
2133
github.com/dchest/safefile v0.0.0-20151022103144-855e8d98f185 // indirect
34+
github.com/denisenkom/go-mssqldb v0.0.0-20180620032804-94c9c97e8c9f // indirect
35+
github.com/denverdino/aliyungo v0.0.0-20170926055100-d3308649c661 // indirect
36+
github.com/digitalocean/godo v1.10.0 // indirect
37+
github.com/docker/go-connections v0.3.0 // indirect
38+
github.com/duosecurity/duo_api_golang v0.0.0-20190308151101-6c680f768e74 // indirect
39+
github.com/elazarl/go-bindata-assetfs v0.0.0-20160803192304-e1a2a7ec64b0 // indirect
40+
github.com/envoyproxy/go-control-plane v0.0.0-20180919002855-2137d9196328 // indirect
2241
github.com/evanphx/json-patch v4.5.0+incompatible
42+
github.com/fatih/structs v0.0.0-20180123065059-ebf56d35bba7 // indirect
2343
github.com/go-critic/go-critic v0.4.0 // indirect
44+
github.com/go-ini/ini v1.25.4 // indirect
45+
github.com/go-ldap/ldap v3.0.2+incompatible // indirect
2446
github.com/go-sql-driver/mysql v1.5.0
47+
github.com/go-test/deep v1.0.1 // indirect
48+
github.com/gocql/gocql v0.0.0-20180617115710-e06f8c1bcd78 // indirect
49+
github.com/gogo/googleapis v1.1.0 // indirect
2550
github.com/gogo/protobuf v1.3.1
2651
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
2752
github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6 // indirect
53+
github.com/golang/lint v0.0.0-20180702182130-06c8688daad7 // indirect
2854
github.com/golang/mock v1.3.1
2955
github.com/golang/protobuf v1.3.2
3056
github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db
@@ -33,25 +59,60 @@ require (
3359
github.com/golangci/revgrep v0.0.0-20180812185044-276a5c0a1039 // indirect
3460
github.com/google/go-cmp v0.4.0
3561
github.com/google/shlex v0.0.0-20181106134648-c34317bd91bf // indirect
62+
github.com/googleapis/gnostic v0.2.0 // indirect
3663
github.com/gorilla/websocket v1.4.0
3764
github.com/gostaticanalysis/analysisutil v0.0.3 // indirect
65+
github.com/gotestyourself/gotestyourself v2.2.0+incompatible // indirect
3866
github.com/grpc-ecosystem/go-grpc-middleware v1.1.0
3967
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0
40-
github.com/hashicorp/consul v1.5.1
41-
github.com/hashicorp/consul/api v1.1.0
68+
github.com/hashicorp/consul v1.4.5
69+
github.com/hashicorp/go-bexpr v0.1.0 // indirect
70+
github.com/hashicorp/go-checkpoint v0.0.0-20171009173528-1545e56e46de // indirect
71+
github.com/hashicorp/go-hclog v0.0.0-20180402200405-69ff559dc25f // indirect
72+
github.com/hashicorp/go-memdb v0.0.0-20180223233045-1289e7fffe71 // indirect
4273
github.com/hashicorp/go-msgpack v0.5.5 // indirect
74+
github.com/hashicorp/go-plugin v0.0.0-20180331002553-e8d22c780116 // indirect
75+
github.com/hashicorp/go-rootcerts v1.0.2 // indirect
76+
github.com/hashicorp/go-version v0.0.0-20170202080759-03c5bf6be031 // indirect
4377
github.com/hashicorp/golang-lru v0.5.3 // indirect
78+
github.com/hashicorp/hil v0.0.0-20160711231837-1e86c6b523c5 // indirect
79+
github.com/hashicorp/mdns v1.0.1 // indirect
80+
github.com/hashicorp/memberlist v0.1.4 // indirect
81+
github.com/hashicorp/net-rpc-msgpackrpc v0.0.0-20151116020338-a14192a58a69 // indirect
82+
github.com/hashicorp/raft v1.0.1-0.20190409200437-d9fe23f7d472 // indirect
83+
github.com/hashicorp/raft-boltdb v0.0.0-20150201200839-d1e82c1ec3f1 // indirect
84+
github.com/hashicorp/serf v0.8.5 // indirect
85+
github.com/hashicorp/vault v0.10.3 // indirect
86+
github.com/hashicorp/vault-plugin-secrets-kv v0.0.0-20190318174639-195e0e9d07f1 // indirect
87+
github.com/hashicorp/vic v1.5.1-0.20190403131502-bbfe86ec9443 // indirect
88+
github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d // indirect
4489
github.com/icrowley/fake v0.0.0-20180203215853-4178557ae428
90+
github.com/imdario/mergo v0.3.6 // indirect
91+
github.com/jarcoal/httpmock v0.0.0-20180424175123-9c70cfe4a1da // indirect
92+
github.com/jefferai/jsonx v0.0.0-20160721235117-9cc31c3135ee // indirect
93+
github.com/joyent/triton-go v0.0.0-20180628001255-830d2b111e62 // indirect
94+
github.com/keybase/go-crypto v0.0.0-20180614160407-5114a9a81e1b // indirect
4595
github.com/klauspost/crc32 v1.2.0 // indirect
4696
github.com/klauspost/pgzip v1.2.0
4797
github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect
4898
github.com/krishicks/yaml-patch v0.0.10
99+
github.com/lyft/protoc-gen-validate v0.0.0-20180911180927-64fcb82c878e // indirect
49100
github.com/mattn/go-isatty v0.0.11 // indirect
50-
github.com/mattn/go-runewidth v0.0.1 // indirect
51101
github.com/minio/minio-go v0.0.0-20190131015406-c8a261de75c1
52-
github.com/olekukonko/tablewriter v0.0.0-20160115111002-cca8bbc07984
102+
github.com/mitchellh/copystructure v0.0.0-20160804032330-cdac8253d00f // indirect
103+
github.com/mitchellh/hashstructure v0.0.0-20170609045927-2bca23e0e452 // indirect
104+
github.com/mitchellh/reflectwalk v1.0.1 // indirect
105+
github.com/nicolai86/scaleway-sdk v1.10.2-0.20180628010248-798f60e20bb2 // indirect
106+
github.com/oklog/run v0.0.0-20180308005104-6934b124db28 // indirect
107+
github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5
108+
github.com/opencontainers/go-digest v1.0.0-rc1 // indirect
109+
github.com/opencontainers/image-spec v1.0.1 // indirect
110+
github.com/opencontainers/runc v0.1.1 // indirect
53111
github.com/opentracing-contrib/go-grpc v0.0.0-20180928155321-4b5a12d3ff02
54112
github.com/opentracing/opentracing-go v1.1.0
113+
github.com/ory/dockertest v3.3.4+incompatible // indirect
114+
github.com/packethost/packngo v0.1.1-0.20180711074735-b9cb5096f54c // indirect
115+
github.com/patrickmn/go-cache v0.0.0-20180527043350-9f6ff22cfff8 // indirect
55116
github.com/pborman/uuid v1.2.0
56117
github.com/pelletier/go-toml v1.6.0 // indirect
57118
github.com/philhofer/fwd v1.0.0 // indirect
@@ -61,23 +122,25 @@ require (
61122
github.com/prometheus/common v0.9.1
62123
github.com/satori/go.uuid v0.0.0-20160713180306-0aa62d5ddceb // indirect
63124
github.com/securego/gosec v0.0.0-20191217083152-cb4f343eaff1 // indirect
64-
github.com/spf13/afero v1.2.2 // indirect
125+
github.com/softlayer/softlayer-go v0.0.0-20180806151055-260589d94c7d // indirect
65126
github.com/spf13/cast v1.3.1 // indirect
66127
github.com/spf13/jwalterweatherman v1.1.0 // indirect
67128
github.com/spf13/viper v1.6.1 // indirect
68129
github.com/stretchr/testify v1.4.0
69130
github.com/tchap/go-patricia v0.0.0-20160729071656-dd168db6051b
70131
github.com/tebeka/selenium v0.9.9
132+
github.com/tent/http-link-go v0.0.0-20130702225549-ac974c61c2f9 // indirect
71133
github.com/tinylib/msgp v1.1.1 // indirect
72134
github.com/uber-go/atomic v1.4.0 // indirect
73135
github.com/uber/jaeger-client-go v2.16.0+incompatible
74136
github.com/uber/jaeger-lib v2.0.0+incompatible // indirect
75137
github.com/ugorji/go v1.1.7 // indirect
76138
github.com/uudashr/gocognit v1.0.1 // indirect
139+
github.com/vmware/govmomi v0.18.0 // indirect
77140
github.com/z-division/go-zookeeper v0.0.0-20190128072838-6d7457066b9b
78141
golang.org/x/crypto v0.0.0-20191206172530-e9b2fee46413
79142
golang.org/x/lint v0.0.0-20190409202823-959b441ac422
80-
golang.org/x/net v0.0.0-20190926025831-c00fd9afed17
143+
golang.org/x/net v0.0.0-20191004110552-13f9640d40b9
81144
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45
82145
golang.org/x/text v0.3.2
83146
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4
@@ -86,8 +149,17 @@ require (
86149
google.golang.org/genproto v0.0.0-20190926190326-7ee9db18f195 // indirect
87150
google.golang.org/grpc v1.24.0
88151
gopkg.in/DataDog/dd-trace-go.v1 v1.17.0
152+
gopkg.in/airbrake/gobrake.v2 v2.0.9 // indirect
153+
gopkg.in/asn1-ber.v1 v1.0.0-20181015200546-f715ec2f112d // indirect
154+
gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 // indirect
89155
gopkg.in/ldap.v2 v2.5.0
156+
gopkg.in/mgo.v2 v2.0.0-20160818020120-3f83fa500528 // indirect
157+
gopkg.in/ory-am/dockertest.v3 v3.3.4 // indirect
158+
gopkg.in/square/go-jose.v2 v2.3.1 // indirect
90159
honnef.co/go/tools v0.0.1-2019.2.3
160+
k8s.io/apiextensions-apiserver v0.17.3
161+
k8s.io/apimachinery v0.17.3
162+
k8s.io/client-go v0.17.3
91163
mvdan.cc/unparam v0.0.0-20191111180625-960b1ec0f2c2 // indirect
92164
sourcegraph.com/sqs/pbtypes v1.0.0 // indirect
93165
vitess.io/vitess/examples/are-you-alive v0.0.0-20200302220708-6b7695375ce9 // indirect

0 commit comments

Comments
 (0)