mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

Motivation is as follows: - etcdctl we only depend on clientv3 APIs, no dependencies of bolt, backend, mvcc, file-layout - etcdctl can be officially supported across wide range of versions, while etcdutl is pretty specific to file format at particular version. it's step towards desired modules layout, documented in: https://etcd.io/docs/next/dev-internal/modules/
42 lines
1.2 KiB
Modula-2
42 lines
1.2 KiB
Modula-2
module go.etcd.io/etcd/etcdctl/v3
|
|
|
|
go 1.16
|
|
|
|
require (
|
|
github.com/bgentry/speakeasy v0.1.0
|
|
github.com/dustin/go-humanize v1.0.0
|
|
github.com/olekukonko/tablewriter v0.0.5
|
|
github.com/spf13/cobra v1.1.3
|
|
github.com/spf13/pflag v1.0.5
|
|
github.com/urfave/cli v1.22.4
|
|
go.etcd.io/etcd/api/v3 v3.5.0-alpha.0
|
|
go.etcd.io/etcd/client/pkg/v3 v3.5.0-alpha.0
|
|
go.etcd.io/etcd/client/v2 v2.305.0-alpha.0
|
|
go.etcd.io/etcd/client/v3 v3.5.0-alpha.0
|
|
go.etcd.io/etcd/etcdutl/v3 v3.5.0-alpha.0
|
|
go.etcd.io/etcd/pkg/v3 v3.5.0-alpha.0
|
|
go.uber.org/zap v1.16.1-0.20210329175301-c23abee72d19
|
|
golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba
|
|
google.golang.org/grpc v1.37.0
|
|
gopkg.in/cheggaaa/pb.v1 v1.0.28
|
|
)
|
|
|
|
replace (
|
|
go.etcd.io/etcd/api/v3 => ../api
|
|
go.etcd.io/etcd/client/pkg/v3 => ../client/pkg
|
|
go.etcd.io/etcd/client/v2 => ../client/v2
|
|
go.etcd.io/etcd/client/v3 => ../client/v3
|
|
go.etcd.io/etcd/etcdutl/v3 => ../etcdutl
|
|
go.etcd.io/etcd/pkg/v3 => ../pkg
|
|
go.etcd.io/etcd/raft/v3 => ../raft
|
|
go.etcd.io/etcd/server/v3 => ../server
|
|
)
|
|
|
|
// Bad imports are sometimes causing attempts to pull that code.
|
|
// This makes the error more explicit.
|
|
replace (
|
|
go.etcd.io/etcd => ./FORBIDDEN_DEPENDENCY
|
|
go.etcd.io/etcd/v3 => ./FORBIDDEN_DEPENDENCY
|
|
go.etcd.io/tests/v3 => ./FORBIDDEN_DEPENDENCY
|
|
)
|