Skip to content

Commit

Permalink
refactor: Splitting notifier and scheduler for leveragin cronjob
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Boutour <[email protected]>
  • Loading branch information
ViBiOh committed Mar 16, 2021
1 parent ce6c5e9 commit bcd3176
Show file tree
Hide file tree
Showing 11 changed files with 901 additions and 735 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ jobs:
- name: Build
run: |
curl --disable --silent --show-error --location --max-time 30 "https://raw.githubusercontent.com/ViBiOh/scripts/main/bootstrap" | bash -s "release"
DOCKER_IMAGE="${{ secrets.DOCKER_USER }}/$(make name)" IMAGE_VERSION="$(make version)" ./scripts/release build docker
./scripts/release build
DOCKER_IMAGE="${{ secrets.DOCKER_USER }}/$(make name)" IMAGE_VERSION="$(make version)" ./scripts/release docker
DOCKER_IMAGE="${{ secrets.DOCKER_USER }}/$(make name)-notifier" IMAGE_VERSION="$(make version)" DOCKERFILE="Dockerfile.notifier" ./scripts/release docker
publish:
name: Publish
if:
Expand All @@ -61,6 +63,7 @@ jobs:
run: |
curl --disable --silent --show-error --location --max-time 30 "https://raw.githubusercontent.com/ViBiOh/scripts/main/bootstrap" | bash -s "docker_promote"
scripts/docker_promote "${{ secrets.DOCKER_USER }}/$(make name)" "$(make version)"
scripts/docker_promote "${{ secrets.DOCKER_USER }}/$(make name)-notifier" "$(make version)"
- name: Flux
env:
FLUX_TOKEN: ${{ secrets.FLUX_TOKEN }}
Expand Down
15 changes: 15 additions & 0 deletions Dockerfile.notifier
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM vibioh/scratch

ENV ZONEINFO /zoneinfo.zip
COPY zoneinfo.zip /zoneinfo.zip
COPY ca-certificates.crt /etc/ssl/certs/ca-certificates.crt

ENTRYPOINT [ "/notifier" ]

ARG VERSION
ENV VERSION=${VERSION}

ARG TARGETOS
ARG TARGETARCH

COPY release/notifier_${TARGETOS}_${TARGETARCH} /notifier
13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ ifneq ("$(wildcard .env)","")
endif

APP_NAME = ketchup
NOTIFIER_NAME = notifier
PACKAGES ?= ./...

MAIN_SOURCE = cmd/ketchup/api.go
Expand All @@ -14,6 +15,12 @@ ifeq ($(DEBUG), true)
MAIN_RUNNER = dlv debug $(MAIN_SOURCE) --
endif

NOTIFIER_SOURCE = cmd/notifier/notifier.go
NOTIFIER_RUNNER = go run $(NOTIFIER_SOURCE)
ifeq ($(DEBUG), true)
NOTIFIER_RUNNER = dlv debug $(NOTIFIER_SOURCE) --
endif

.DEFAULT_GOAL := app

## help: Display list of commands
Expand Down Expand Up @@ -76,8 +83,14 @@ bench:
.PHONY: build
build:
CGO_ENABLED=0 go build -ldflags="-s -w" -installsuffix nocgo -o bin/$(APP_NAME) $(MAIN_SOURCE)
CGO_ENABLED=0 go build -ldflags="-s -w" -installsuffix nocgo -o bin/$(NOTIFIER_NAME) $(NOTIFIER_SOURCE)

## run: Locally run the application, e.g. node index.js, python -m myapp, go run myapp etc ...
.PHONY: run
run:
$(MAIN_RUNNER)

## run-notifier: Locally run the notifier of the application
.PHONY: run-notifier
run-notifier:
$(NOTIFIER_RUNNER)
58 changes: 35 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ You'll find a Kubernetes exemple in the [`infra/`](infra/) folder, using my [`ap
```bash
Usage of ketchup:
-address string
[http] Listen address {KETCHUP_ADDRESS}
[server] Listen address {KETCHUP_ADDRESS}
-cert string
[http] Certificate file {KETCHUP_CERT}
[server] Certificate file {KETCHUP_CERT}
-corsCredentials
[cors] Access-Control-Allow-Credentials {KETCHUP_CORS_CREDENTIALS}
-corsExpose string
Expand Down Expand Up @@ -91,9 +91,9 @@ Usage of ketchup:
-hsts
[owasp] Indicate Strict Transport Security {KETCHUP_HSTS} (default true)
-idleTimeout string
[http] Idle Timeout {KETCHUP_IDLE_TIMEOUT} (default "2m")
[server] Idle Timeout {KETCHUP_IDLE_TIMEOUT} (default "2m")
-key string
[http] Key file {KETCHUP_KEY}
[server] Key file {KETCHUP_KEY}
-loggerJson
[logger] Log format as JSON {KETCHUP_LOGGER_JSON}
-loggerLevel string
Expand All @@ -104,44 +104,56 @@ Usage of ketchup:
[logger] Key for message in JSON {KETCHUP_LOGGER_MESSAGE_KEY} (default "message")
-loggerTimeKey string
[logger] Key for timestamp in JSON {KETCHUP_LOGGER_TIME_KEY} (default "time")
-mailerPass string
[mailer] Pass {KETCHUP_MAILER_PASS}
-mailerName string
[mailer] HTTP Username or AMQP Exchange name {KETCHUP_MAILER_NAME} (default "mailer")
-mailerPassword string
[mailer] HTTP Pass {KETCHUP_MAILER_PASSWORD}
-mailerURL string
[mailer] URL (an instance of github.com/ViBiOh/mailer) {KETCHUP_MAILER_URL}
-mailerUser string
[mailer] User {KETCHUP_MAILER_USER}
[mailer] URL (https?:// or amqps?://) {KETCHUP_MAILER_URL}
-notifierLoginID uint
[notifier] Scheduler user ID {KETCHUP_NOTIFIER_LOGIN_ID} (default 1)
-okStatus int
[http] Healthy HTTP Status code {KETCHUP_OK_STATUS} (default 204)
-port uint
[http] Listen port {KETCHUP_PORT} (default 1080)
[server] Listen port {KETCHUP_PORT} (default 1080)
-prometheusAddress string
[prometheus] Listen address {KETCHUP_PROMETHEUS_ADDRESS}
-prometheusCert string
[prometheus] Certificate file {KETCHUP_PROMETHEUS_CERT}
-prometheusIdleTimeout string
[prometheus] Idle Timeout {KETCHUP_PROMETHEUS_IDLE_TIMEOUT} (default "10s")
-prometheusIgnore string
[prometheus] Ignored path prefixes for metrics, comma separated {KETCHUP_PROMETHEUS_IGNORE}
-prometheusPath string
[prometheus] Path for exposing metrics {KETCHUP_PROMETHEUS_PATH} (default "/metrics")
-prometheusKey string
[prometheus] Key file {KETCHUP_PROMETHEUS_KEY}
-prometheusPort uint
[prometheus] Listen port {KETCHUP_PROMETHEUS_PORT} (default 9090)
-prometheusReadTimeout string
[prometheus] Read Timeout {KETCHUP_PROMETHEUS_READ_TIMEOUT} (default "5s")
-prometheusShutdownTimeout string
[prometheus] Shutdown Timeout {KETCHUP_PROMETHEUS_SHUTDOWN_TIMEOUT} (default "5s")
-prometheusWriteTimeout string
[prometheus] Write Timeout {KETCHUP_PROMETHEUS_WRITE_TIMEOUT} (default "10s")
-publicURL string
[] Public URL {KETCHUP_PUBLIC_URL} (default "https://ketchup.vibioh.fr")
Public URL {KETCHUP_PUBLIC_URL} (default "https://ketchup.vibioh.fr")
-readTimeout string
[http] Read Timeout {KETCHUP_READ_TIMEOUT} (default "5s")
[server] Read Timeout {KETCHUP_READ_TIMEOUT} (default "5s")
-schedulerEnabled
[scheduler] Enable cron job {KETCHUP_SCHEDULER_ENABLED} (default true)
-schedulerHour string
[scheduler] Hour of cron, 24-hour format {KETCHUP_SCHEDULER_HOUR} (default "08:00")
-schedulerLoginID uint
[scheduler] Scheduler user ID {KETCHUP_SCHEDULER_LOGIN_ID} (default 1)
-schedulerTimezone string
[scheduler] Timezone {KETCHUP_SCHEDULER_TIMEZONE} (default "Europe/Paris")
-shutdownTimeout string
[http] Shutdown Timeout {KETCHUP_SHUTDOWN_TIMEOUT} (default "10s")
-static string
[] Static folder, content served directly {KETCHUP_STATIC} (default "./static/")
-templates string
[] HTML Templates folder {KETCHUP_TEMPLATES} (default "./templates/")
[server] Shutdown Timeout {KETCHUP_SHUTDOWN_TIMEOUT} (default "10s")
-title string
[] Application title {KETCHUP_TITLE} (default "Ketchup")
Application title {KETCHUP_TITLE} (default "Ketchup")
-url string
[alcotest] URL to check {KETCHUP_URL}
-userAgent string
[alcotest] User-Agent for check {KETCHUP_USER_AGENT} (default "Alcotest")
-writeTimeout string
[http] Write Timeout {KETCHUP_WRITE_TIMEOUT} (default "10s")
[server] Write Timeout {KETCHUP_WRITE_TIMEOUT} (default "10s")
```
## Contributing
Expand Down
14 changes: 12 additions & 2 deletions cmd/ketchup/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import (
"github.com/ViBiOh/ketchup/pkg/helm"
"github.com/ViBiOh/ketchup/pkg/ketchup"
"github.com/ViBiOh/ketchup/pkg/middleware"
"github.com/ViBiOh/ketchup/pkg/notifier"
"github.com/ViBiOh/ketchup/pkg/scheduler"
ketchupService "github.com/ViBiOh/ketchup/pkg/service/ketchup"
repositoryService "github.com/ViBiOh/ketchup/pkg/service/repository"
Expand Down Expand Up @@ -69,6 +70,7 @@ func main() {
dbConfig := db.Flags(fs, "db")
mailerConfig := mailer.Flags(fs, "mailer")
githubConfig := github.Flags(fs, "github")
notifierConfig := notifier.Flags(fs, "notifier")
schedulerConfig := scheduler.Flags(fs, "scheduler")

logger.Fatal(fs.Parse(os.Args[1:]))
Expand All @@ -83,6 +85,11 @@ func main() {

ketchupDb, err := db.New(dbConfig)
logger.Fatal(err)
defer func() {
if err := ketchupDb.Close(); err != nil {
logger.Error("error while closing database connection: %s", err)
}
}()

healthApp := health.New(healthConfig, ketchupDb.Ping)

Expand All @@ -99,7 +106,8 @@ func main() {
publicRendererApp, err := renderer.New(rendererConfig, content, ketchup.FuncMap)
logger.Fatal(err)

schedulerApp := scheduler.New(schedulerConfig, repositoryServiceApp, ketchupServiceApp, mailerApp)
notifierApp := notifier.New(notifierConfig, repositoryServiceApp, ketchupServiceApp, mailerApp)
schedulerApp := scheduler.New(schedulerConfig, notifierApp)
ketchupApp := ketchup.New(publicRendererApp, ketchupServiceApp, userServiceApp, repositoryServiceApp)

publicHandler := publicRendererApp.Handler(ketchupApp.PublicTemplateFunc)
Expand All @@ -120,8 +128,10 @@ func main() {
publicHandler.ServeHTTP(w, r)
})

go schedulerApp.Start(healthApp.Done())
go ketchupApp.Start(healthApp.Done())
if schedulerApp != nil {
go schedulerApp.Start(healthApp.Done())
}

go promServer.Start("prometheus", healthApp.End(), prometheusApp.Handler())
go appServer.Start("http", healthApp.End(), httputils.Handler(appHandler, healthApp, prometheusApp.Middleware, owasp.New(owaspConfig).Middleware, cors.New(corsConfig).Middleware))
Expand Down
53 changes: 53 additions & 0 deletions cmd/notifier/notifier.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
package main

import (
"flag"
"os"

"github.com/ViBiOh/httputils/v4/pkg/db"
"github.com/ViBiOh/httputils/v4/pkg/logger"
"github.com/ViBiOh/ketchup/pkg/github"
"github.com/ViBiOh/ketchup/pkg/helm"
"github.com/ViBiOh/ketchup/pkg/notifier"
ketchupService "github.com/ViBiOh/ketchup/pkg/service/ketchup"
repositoryService "github.com/ViBiOh/ketchup/pkg/service/repository"
ketchupStore "github.com/ViBiOh/ketchup/pkg/store/ketchup"
repositoryStore "github.com/ViBiOh/ketchup/pkg/store/repository"
mailer "github.com/ViBiOh/mailer/pkg/client"
)

func main() {
fs := flag.NewFlagSet("ketchup", flag.ExitOnError)

loggerConfig := logger.Flags(fs, "logger")

dbConfig := db.Flags(fs, "db")
mailerConfig := mailer.Flags(fs, "mailer")
githubConfig := github.Flags(fs, "github")
notifierConfig := notifier.Flags(fs, "notifier")

logger.Fatal(fs.Parse(os.Args[1:]))

logger.Global(logger.New(loggerConfig))
defer logger.Close()

ketchupDb, err := db.New(dbConfig)
logger.Fatal(err)
defer func() {
if err := ketchupDb.Close(); err != nil {
logger.Error("error while closing database connection: %s", err)
}
}()

mailerApp, err := mailer.New(mailerConfig)
logger.Fatal(err)
defer mailerApp.Close()

repositoryServiceApp := repositoryService.New(repositoryStore.New(ketchupDb), github.New(githubConfig), helm.New())
ketchupServiceApp := ketchupService.New(ketchupStore.New(ketchupDb), repositoryServiceApp)

notifierApp := notifier.New(notifierConfig, repositoryServiceApp, ketchupServiceApp, mailerApp)
if err := notifierApp.Notify(); err != nil {
logger.Fatal(err)
}
}
23 changes: 0 additions & 23 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,10 @@ github.com/DATA-DOG/go-sqlmock v1.5.0/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q
github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0=
github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo=
github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI=
github.com/ViBiOh/auth/v2 v2.6.8 h1:5igJZZXuesuVc1ptf3KKzxMUWvdR7jzAT+hEyXcyBcs=
github.com/ViBiOh/auth/v2 v2.6.8/go.mod h1:YDaNFl3h7jdvxTNLAZsIwNkpzRL5vkz9X36CrjxhUOQ=
github.com/ViBiOh/auth/v2 v2.6.9 h1:hXa18MN2pNCd55LypUked48cCPVook9h3f1dQCsCYgI=
github.com/ViBiOh/auth/v2 v2.6.9/go.mod h1:+jpvWMsv78inrWfNY0rmr8cOutgXeniUsalcjXLLt08=
github.com/ViBiOh/auth/v2 v2.6.10 h1:j+XczU47hHWzFn1jLHfDw5DywZmCbzt5Yx7oDqJADDw=
github.com/ViBiOh/auth/v2 v2.6.10/go.mod h1:ZVyjne/dKVlZ5Xbg12F2zMKeaBbDDe93QTFo6bsOFFc=
github.com/ViBiOh/httputils/v4 v4.2.0 h1:Gam5Q9sb2Dw4EDDEpYEBIMOpqTRw9sp+Zb30aPF6UP4=
github.com/ViBiOh/httputils/v4 v4.2.0/go.mod h1:+mwW3YVDPI9y1Fx1ZXbehJPqWDFtlDLsNL5otGeBSBw=
github.com/ViBiOh/httputils/v4 v4.3.0 h1:4Az+w8qipdzNA3Jdeg4UAqU4Io7q7BPa821kVvtsrqw=
github.com/ViBiOh/httputils/v4 v4.3.0/go.mod h1:+mwW3YVDPI9y1Fx1ZXbehJPqWDFtlDLsNL5otGeBSBw=
github.com/ViBiOh/httputils/v4 v4.3.1 h1:500gWKB924fNBl1DBDlhPRwzlrWySxhID2SDz71d884=
github.com/ViBiOh/httputils/v4 v4.3.1/go.mod h1:DUg0oCVHtfKLLBrBYsH32p2t1jCWEohrtJReAvSnsok=
github.com/ViBiOh/mailer v1.16.0 h1:OR7cbWXN6ZyNlom/WcIw3NmXXTLRBwiMMXbVTYDO9Cc=
github.com/ViBiOh/mailer v1.16.0/go.mod h1:ZR3J829riosdgLRc6tAi+at4RAfNWgP2KOiAJEButZw=
github.com/ViBiOh/mailer v1.16.1 h1:v1D3cHda1tYZ6BMGtzwRKfBijfUp0B3UBDWvnem/fLY=
github.com/ViBiOh/mailer v1.16.1/go.mod h1:OQLes6l3yYUaa6ztnB/yAIsHCqysoir+VW99npVFHPI=
github.com/ViBiOh/mailer v1.16.2 h1:E0qvge6ib1qzdIEKp+Xa3yzFA4q8LmqqOAqIeJtI7eI=
github.com/ViBiOh/mailer v1.16.2/go.mod h1:RGuRaMOhqJuD8wBC3FI0jemvG9QxSYe2vNSBa5ieKO8=
github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g=
Expand Down Expand Up @@ -102,7 +90,6 @@ github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:x
github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs=
github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w=
github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0=
github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8=
github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
github.com/golang/protobuf v1.4.3 h1:JjCZWpVbqXDqFVmTfYWEVTMIYrL/NPdPSCHPJ0T/raM=
github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
Expand All @@ -114,8 +101,6 @@ github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMyw
github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
github.com/google/go-cmp v0.4.0 h1:xsAVV57WRhGj6kEIi8ReJzQlHHqcBYCElAvkovg3B/4=
github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.0 h1:/QaMHBdZ26BB3SSst0Iwl10Epc+xhTquomWX0oZEB6w=
github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
Expand Down Expand Up @@ -171,8 +156,6 @@ github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORN
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/lib/pq v1.9.0 h1:L8nSXQQzAYByakOFMTwpjRoHsMJklur4Gi59b6VivR8=
github.com/lib/pq v1.9.0/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
github.com/lib/pq v1.10.0 h1:Zx5DJFEYQXio93kgXnQ09fXNiUKsqv4OUEu2UtGcB1E=
github.com/lib/pq v1.10.0/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM=
Expand Down Expand Up @@ -408,7 +391,6 @@ google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRn
google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
google.golang.org/genproto v0.0.0-20190530194941-fb225487d101/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s=
google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo=
google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs=
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
google.golang.org/grpc v1.20.0/go.mod h1:chYK+tFQF0nDUGJgXMSgLCQk3phJEuONr2DCgLDdAQM=
Expand All @@ -418,18 +400,13 @@ google.golang.org/grpc v1.22.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyac
google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg=
google.golang.org/grpc v1.23.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg=
google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM=
google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE=
google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo=
google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
google.golang.org/protobuf v1.23.0 h1:4MY060fB1DLGMB/7MBTLnwQUY6+F09GEiz6SsrNqyzM=
google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
google.golang.org/protobuf v1.25.0 h1:Ejskq+SyPohKW+1uil0JJMtmHCgJPJ/qWTxr8qp+R4c=
google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c=
gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
Expand Down
Loading

0 comments on commit bcd3176

Please sign in to comment.