2018-05-31 20:42:45 +01:00
|
|
|
module storj.io/storj
|
2018-04-16 14:42:06 +01:00
|
|
|
|
2018-11-30 15:02:01 +00:00
|
|
|
// force specific versions for minio
|
|
|
|
require (
|
|
|
|
github.com/btcsuite/btcutil v0.0.0-20180706230648-ab6388e0c60a
|
|
|
|
github.com/garyburd/redigo v1.0.1-0.20170216214944-0d253a66e6e1 // indirect
|
2019-04-04 15:56:20 +01:00
|
|
|
github.com/graphql-go/graphql v0.7.9-0.20190403165646-199d20bbfed7
|
2018-11-30 15:02:01 +00:00
|
|
|
github.com/inconshreveable/mousetrap v1.0.0 // indirect
|
|
|
|
github.com/mattn/go-colorable v0.0.9 // indirect
|
|
|
|
|
|
|
|
github.com/minio/minio v0.0.0-20180508161510-54cd29b51c38
|
|
|
|
github.com/mitchellh/mapstructure v1.1.1 // indirect
|
2019-03-15 20:21:52 +00:00
|
|
|
github.com/segmentio/go-prompt v1.2.1-0.20161017233205-f0d19b6901ad
|
2018-11-30 15:02:01 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
exclude gopkg.in/olivere/elastic.v5 v5.0.72 // buggy import, see https://github.com/olivere/elastic/pull/869
|
|
|
|
|
2018-04-16 14:42:06 +01:00
|
|
|
require (
|
2018-12-11 18:24:31 +00:00
|
|
|
github.com/Shopify/go-lua v0.0.0-20181106184032-48449c60c0a9
|
2019-02-26 15:49:56 +00:00
|
|
|
github.com/Shopify/toxiproxy v2.1.4+incompatible // indirect
|
2018-09-05 17:10:35 +01:00
|
|
|
github.com/alicebob/gopher-json v0.0.0-20180125190556-5a6b3ba71ee6 // indirect
|
2018-09-28 16:44:02 +01:00
|
|
|
github.com/alicebob/miniredis v0.0.0-20180911162847-3657542c8629
|
|
|
|
github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da // indirect
|
2018-06-05 12:48:19 +01:00
|
|
|
github.com/boltdb/bolt v1.3.1
|
2018-09-20 19:41:42 +01:00
|
|
|
github.com/cheggaaa/pb v1.0.5-0.20160713104425-73ae1d68fe0b
|
2018-08-23 08:05:56 +01:00
|
|
|
github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect
|
|
|
|
github.com/djherbis/atime v1.0.0 // indirect
|
2019-02-26 15:49:56 +00:00
|
|
|
github.com/dustin/go-humanize v1.0.0 // indirect
|
2018-08-23 08:05:56 +01:00
|
|
|
github.com/eapache/go-resiliency v1.1.0 // indirect
|
|
|
|
github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21 // indirect
|
|
|
|
github.com/eapache/queue v1.1.0 // indirect
|
2018-10-03 10:15:17 +01:00
|
|
|
github.com/eclipse/paho.mqtt.golang v1.1.1 // indirect
|
2018-08-23 08:05:56 +01:00
|
|
|
github.com/elazarl/go-bindata-assetfs v1.0.0 // indirect
|
2019-01-16 21:09:13 +00:00
|
|
|
github.com/fatih/color v1.7.0
|
2018-09-10 15:23:08 +01:00
|
|
|
github.com/fatih/structs v1.0.0 // indirect
|
2018-09-28 16:44:02 +01:00
|
|
|
github.com/go-redis/redis v6.14.1+incompatible
|
2019-02-26 15:49:56 +00:00
|
|
|
github.com/gogo/protobuf v1.2.1
|
2018-10-25 18:11:28 +01:00
|
|
|
github.com/golang-migrate/migrate/v3 v3.5.2
|
2019-05-19 15:58:30 +01:00
|
|
|
github.com/golang/mock v1.3.1
|
|
|
|
github.com/golang/protobuf v1.3.1
|
2019-02-26 15:49:56 +00:00
|
|
|
github.com/golang/snappy v0.0.1 // indirect
|
2018-08-23 08:05:56 +01:00
|
|
|
github.com/gomodule/redigo v2.0.0+incompatible // indirect
|
2019-05-19 15:58:30 +01:00
|
|
|
github.com/google/go-cmp v0.3.0
|
2019-02-26 15:49:56 +00:00
|
|
|
github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e // indirect
|
2018-08-23 08:05:56 +01:00
|
|
|
github.com/gorilla/handlers v1.4.0 // indirect
|
2019-06-12 14:42:39 +01:00
|
|
|
github.com/gorilla/mux v1.7.0 // indirect
|
2018-08-23 08:05:56 +01:00
|
|
|
github.com/gorilla/rpc v1.1.0 // indirect
|
2018-09-28 16:44:02 +01:00
|
|
|
github.com/hashicorp/go-immutable-radix v1.0.0 // indirect
|
2019-04-02 19:43:24 +01:00
|
|
|
github.com/hashicorp/go-msgpack v0.5.3 // indirect
|
2019-05-19 15:58:30 +01:00
|
|
|
github.com/hashicorp/golang-lru v0.5.1 // indirect
|
2018-09-28 16:44:02 +01:00
|
|
|
github.com/hashicorp/raft v1.0.0 // indirect
|
2018-08-23 08:05:56 +01:00
|
|
|
github.com/howeyc/gopass v0.0.0-20170109162249-bf9dde6d0d2c // indirect
|
|
|
|
github.com/inconshreveable/go-update v0.0.0-20160112193335-8152e7eb6ccf // indirect
|
2018-06-05 12:48:19 +01:00
|
|
|
github.com/jbenet/go-base58 v0.0.0-20150317085156-6237cf65f3a6
|
2018-12-11 18:24:31 +00:00
|
|
|
github.com/jtolds/go-luar v0.0.0-20170419063437-0786921db8c0
|
2019-01-08 18:10:07 +00:00
|
|
|
github.com/jtolds/monkit-hw v0.0.0-20190108155550-0f753668cf20
|
2018-08-23 08:05:56 +01:00
|
|
|
github.com/klauspost/cpuid v0.0.0-20180405133222-e7e905edc00e // indirect
|
|
|
|
github.com/klauspost/reedsolomon v0.0.0-20180704173009-925cb01d6510 // indirect
|
2018-10-25 18:11:28 +01:00
|
|
|
github.com/lib/pq v1.0.0
|
2018-12-17 11:41:40 +00:00
|
|
|
github.com/loov/hrtime v0.0.0-20181214195526-37a208e8344e
|
2018-09-11 16:35:46 +01:00
|
|
|
github.com/loov/plot v0.0.0-20180510142208-e59891ae1271
|
2018-09-26 14:32:23 +01:00
|
|
|
github.com/mattn/go-isatty v0.0.4 // indirect
|
2018-09-28 16:44:02 +01:00
|
|
|
github.com/mattn/go-runewidth v0.0.3 // indirect
|
2018-12-11 18:24:31 +00:00
|
|
|
github.com/mattn/go-sqlite3 v1.10.0
|
2018-06-05 12:48:19 +01:00
|
|
|
github.com/minio/cli v1.3.0
|
2018-08-23 08:05:56 +01:00
|
|
|
github.com/minio/dsync v0.0.0-20180124070302-439a0961af70 // indirect
|
|
|
|
github.com/minio/highwayhash v0.0.0-20180501080913-85fc8a2dacad // indirect
|
|
|
|
github.com/minio/lsync v0.0.0-20180328070428-f332c3883f63 // indirect
|
2018-09-28 16:44:02 +01:00
|
|
|
github.com/minio/mc v0.0.0-20180926130011-a215fbb71884 // indirect
|
|
|
|
github.com/minio/minio-go v6.0.3+incompatible
|
2019-04-04 09:12:08 +01:00
|
|
|
github.com/minio/sha256-simd v0.0.0-20190328051042-05b4dd3047e5
|
2018-08-23 08:05:56 +01:00
|
|
|
github.com/minio/sio v0.0.0-20180327104954-6a41828a60f0 // indirect
|
|
|
|
github.com/mitchellh/go-homedir v0.0.0-20180801233206-58046073cbff // indirect
|
2018-09-28 16:44:02 +01:00
|
|
|
github.com/nats-io/gnatsd v1.3.0 // indirect
|
|
|
|
github.com/nats-io/go-nats v1.6.0 // indirect
|
2019-04-02 19:43:24 +01:00
|
|
|
github.com/nats-io/go-nats-streaming v0.4.2 // indirect
|
2018-09-28 16:44:02 +01:00
|
|
|
github.com/nats-io/nats v1.6.0 // indirect
|
2019-04-02 19:43:24 +01:00
|
|
|
github.com/nats-io/nats-streaming-server v0.12.2 // indirect
|
2018-08-23 08:05:56 +01:00
|
|
|
github.com/nats-io/nuid v1.0.0 // indirect
|
2019-01-02 17:39:17 +00:00
|
|
|
github.com/nsf/jsondiff v0.0.0-20160203110537-7de28ed2b6e3
|
2019-02-06 08:04:12 +00:00
|
|
|
github.com/nsf/termbox-go v0.0.0-20190121233118-02980233997d
|
2019-02-26 15:49:56 +00:00
|
|
|
github.com/onsi/ginkgo v1.7.0 // indirect
|
|
|
|
github.com/onsi/gomega v1.4.3 // indirect
|
2018-09-28 16:44:02 +01:00
|
|
|
github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c // indirect
|
|
|
|
github.com/pierrec/lz4 v2.0.5+incompatible // indirect
|
2019-01-07 19:11:11 +00:00
|
|
|
github.com/pkg/errors v0.8.1 // indirect
|
2018-08-23 08:05:56 +01:00
|
|
|
github.com/pkg/profile v1.2.1 // indirect
|
2019-05-19 15:58:30 +01:00
|
|
|
github.com/prometheus/client_golang v0.9.3 // indirect
|
|
|
|
github.com/prometheus/procfs v0.0.0-20190517135640-51af30a78b0e // indirect
|
2019-02-26 15:49:56 +00:00
|
|
|
github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a // indirect
|
2018-08-23 08:05:56 +01:00
|
|
|
github.com/rs/cors v1.5.0 // indirect
|
2019-02-26 15:49:56 +00:00
|
|
|
github.com/sirupsen/logrus v1.3.0 // indirect
|
2018-11-08 14:19:42 +00:00
|
|
|
github.com/skyrings/skyring-common v0.0.0-20160929130248-d1c0bb1cbd5e
|
2018-09-10 15:23:08 +01:00
|
|
|
github.com/spacemonkeygo/errors v0.0.0-20171212215202-9064522e9fd1 // indirect
|
2018-08-23 08:05:56 +01:00
|
|
|
github.com/spf13/cobra v0.0.3
|
2018-10-04 22:00:19 +01:00
|
|
|
github.com/spf13/pflag v1.0.3
|
|
|
|
github.com/spf13/viper v1.2.1
|
2018-08-23 08:05:56 +01:00
|
|
|
github.com/streadway/amqp v0.0.0-20180806233856-70e15c650864 // indirect
|
2019-02-26 15:49:56 +00:00
|
|
|
github.com/stretchr/testify v1.3.0
|
2019-06-03 14:46:57 +01:00
|
|
|
github.com/stripe/stripe-go v60.17.0+incompatible
|
2018-08-23 08:05:56 +01:00
|
|
|
github.com/tidwall/gjson v1.1.3 // indirect
|
|
|
|
github.com/tidwall/match v0.0.0-20171002075945-1731857f09b1 // indirect
|
2019-02-05 10:54:25 +00:00
|
|
|
github.com/vivint/infectious v0.0.0-20190108171102-2455b059135b
|
2018-09-28 16:44:02 +01:00
|
|
|
github.com/yuin/gopher-lua v0.0.0-20180918061612-799fa34954fb // indirect
|
2018-08-23 08:05:56 +01:00
|
|
|
github.com/zeebo/admission v0.0.0-20180821192747-f24f2a94a40c
|
2019-06-05 19:33:35 +01:00
|
|
|
github.com/zeebo/errs v1.2.0
|
2018-09-10 15:23:08 +01:00
|
|
|
github.com/zeebo/float16 v0.1.0 // indirect
|
|
|
|
github.com/zeebo/incenc v0.0.0-20180505221441-0d92902eec54 // indirect
|
Command line flags features and cleanup (#2068)
* change BindSetup to be an option to Bind
* add process.Bind to allow composite structures
* hack fix for noprefix flags
* used tagged version of structs
Before this PR, some flags were created by calling `cfgstruct.Bind` and having their fields create a flag. Once the flags were parsed, `viper` was used to acquire all the values from them and config files, and the fields in the struct were set through the flag interface.
This doesn't work for slices of things on config structs very well, since it can only set strings, and for a string slice, it turns out that the implementation in `pflag` appends an entry rather than setting it.
This changes three things:
1. Only have a `Bind` call instead of `Bind` and `BindSetup`, and make `BindSetup` an option instead.
2. Add a `process.Bind` call that takes in a `*cobra.Cmd`, binds the struct to the command's flags, and keeps track of that struct in a global map keyed by the command.
3. Use `viper` to get the values and load them into the bound configuration structs instead of using the flags to propagate the changes.
In this way, we can support whatever rich configuration we want in the config yaml files, while still getting command like flags when important.
2019-05-29 18:56:22 +01:00
|
|
|
github.com/zeebo/structs v1.0.1
|
2019-04-02 19:43:24 +01:00
|
|
|
go.etcd.io/bbolt v1.3.2 // indirect
|
2018-08-23 08:05:56 +01:00
|
|
|
go.uber.org/atomic v1.3.2 // indirect
|
|
|
|
go.uber.org/multierr v1.1.0 // indirect
|
2019-05-19 15:58:30 +01:00
|
|
|
go.uber.org/zap v1.10.0
|
2019-06-04 13:38:31 +01:00
|
|
|
golang.org/x/crypto v0.0.0-20190530122614-20be4c3c3ed5
|
2019-06-13 02:35:37 +01:00
|
|
|
golang.org/x/net v0.0.0-20190603091049-60506f45cf65
|
2019-05-19 15:58:30 +01:00
|
|
|
golang.org/x/sync v0.0.0-20190423024810-112230192c58
|
2019-06-04 13:38:31 +01:00
|
|
|
golang.org/x/sys v0.0.0-20190602015325-4c4f7f33c9ed
|
2019-05-19 15:58:30 +01:00
|
|
|
golang.org/x/text v0.3.2 // indirect
|
2019-04-02 19:43:24 +01:00
|
|
|
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4 // indirect
|
2019-06-04 13:38:31 +01:00
|
|
|
golang.org/x/tools v0.0.0-20190602112858-2de7f9bf822c
|
2019-05-19 15:58:30 +01:00
|
|
|
google.golang.org/appengine v1.6.0 // indirect
|
2019-06-04 13:38:31 +01:00
|
|
|
google.golang.org/genproto v0.0.0-20190530194941-fb225487d101 // indirect
|
|
|
|
google.golang.org/grpc v1.21.0
|
2018-09-28 16:44:02 +01:00
|
|
|
gopkg.in/Shopify/sarama.v1 v1.18.0 // indirect
|
|
|
|
gopkg.in/cheggaaa/pb.v1 v1.0.25 // indirect
|
|
|
|
gopkg.in/olivere/elastic.v5 v5.0.76 // indirect
|
2019-06-14 15:58:04 +01:00
|
|
|
gopkg.in/spacemonkeygo/monkit.v2 v2.0.0-20190612171030-cf5a9e6f8fd2
|
2019-02-26 15:49:56 +00:00
|
|
|
gopkg.in/yaml.v2 v2.2.2 // indirect
|
2018-09-28 16:44:02 +01:00
|
|
|
)
|