Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

Commit 1b9ee80

Browse files
authored
Merge pull request #1356 from cndoit18/migrating-to-modules
refactor(go mod): migrate to go modules
2 parents 03f032e + fd9918e commit 1b9ee80

File tree

460 files changed

+117516
-112307
lines changed

Some content is hidden

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

460 files changed

+117516
-112307
lines changed

go.mod

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
module github.com/openark/orchestrator
2+
3+
go 1.16
4+
5+
require (
6+
github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6
7+
github.com/codegangsta/inject v0.0.0-20150114235600-33e0aa1cb7c0 // indirect
8+
github.com/cyberdelia/go-metrics-graphite v0.0.0-20161219230853-39f87cc3b432
9+
github.com/fatih/color v1.10.0 // indirect
10+
github.com/go-martini/martini v0.0.0-20170121215854-22fa46961aab
11+
github.com/go-sql-driver/mysql v1.6.0
12+
github.com/google/btree v1.0.0 // indirect
13+
github.com/hashicorp/consul/api v1.7.0
14+
github.com/hashicorp/go-cleanhttp v0.5.2-0.20190406162018-d3fcbee8e181 // indirect
15+
github.com/hashicorp/go-hclog v0.15.1-0.20201116205511-59fbd7b93270 // indirect
16+
github.com/hashicorp/go-immutable-radix v1.3.0 // indirect
17+
github.com/hashicorp/go-rootcerts v1.0.3-0.20191216101743-c8a9a31cbd76 // indirect
18+
github.com/hashicorp/go-sockaddr v1.0.2 // indirect
19+
github.com/hashicorp/go-uuid v1.0.2 // indirect
20+
github.com/hashicorp/golang-lru v0.5.4 // indirect
21+
github.com/hashicorp/raft v0.0.0-00010101000000-000000000000
22+
github.com/hashicorp/serf v0.9.5 // indirect
23+
github.com/howeyc/gopass v0.0.0-20190910152052-7cb4b85ec19c
24+
github.com/martini-contrib/auth v0.0.0-20150219114609-fa62c19b7ae8
25+
github.com/martini-contrib/gzip v0.0.0-20151124214156-6c035326b43f
26+
github.com/martini-contrib/render v0.0.0-20150707142108-ec18f8345a11
27+
github.com/mattn/go-isatty v0.0.13-0.20200128103942-cb30d6282491 // indirect
28+
github.com/miekg/dns v1.1.31 // indirect
29+
github.com/mitchellh/go-testing-interface v1.14.0 // indirect
30+
github.com/mitchellh/mapstructure v1.3.3 // indirect
31+
github.com/montanaflynn/stats v0.0.0-20161102194025-f8cd06f93c6c
32+
github.com/openark/golib v0.0.0-20210520103621-827f3ea62180
33+
github.com/outbrain/golib v0.0.0-20200503083229-2531e5dbcc71 // indirect
34+
github.com/outbrain/zookeepercli v1.0.12
35+
github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c // indirect
36+
github.com/patrickmn/go-cache v2.1.0+incompatible
37+
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475
38+
github.com/samuel/go-zookeeper v0.0.0-20201211165307-7117e9ea2414
39+
github.com/sjmudd/stopwatch v0.0.0-20170103085848-637ef30077b7
40+
github.com/stretchr/testify v1.6.1 // indirect
41+
golang.org/x/crypto v0.0.0-20200930160638-afb6bcd081ae // indirect
42+
golang.org/x/net v0.0.0-20200930145003-4acb6c075d10 // indirect
43+
golang.org/x/sys v0.0.0-20201126233918-771906719818 // indirect
44+
gopkg.in/gcfg.v1 v1.2.3
45+
gopkg.in/warnings.v0 v0.1.2 // indirect
46+
)
47+
48+
replace github.com/hashicorp/raft => github.com/openark/raft v0.0.0-20170918052300-fba9f909f7fe

go.sum

+198
Large diffs are not rendered by default.

go/kv/zk.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
"time"
2424

2525
"github.com/openark/orchestrator/go/config"
26-
"github.com/outbrain/zookeepercli/zk"
26+
"github.com/outbrain/zookeepercli/go/zk"
2727
zkconstants "github.com/samuel/go-zookeeper/zk"
2828
)
2929

go/logic/snapshot_data.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ import (
2424

2525
"github.com/openark/orchestrator/go/db"
2626
"github.com/openark/orchestrator/go/inst"
27-
"github.com/openark/orchestrator/go/raft"
2827

2928
"github.com/openark/golib/log"
3029
"github.com/openark/golib/sqlutils"
30+
orcraft "github.com/openark/orchestrator/go/raft"
3131
)
3232

3333
type SnapshotData struct {

vendor/github.com/armon/consul-api/acl_test.go

-140
This file was deleted.

vendor/github.com/armon/consul-api/agent_test.go

-162
This file was deleted.

0 commit comments

Comments
 (0)