etcdctl: Make etcdctl a module (go.mod, LICENSE)

This commit is contained in:
Piotr Tabor
2020-10-20 10:44:02 +02:00
parent 7c6c2c142b
commit df48e499ea
10 changed files with 1020 additions and 73 deletions

View File

@ -110,6 +110,7 @@ function modules() {
go.etcd.io/etcd/raft/v3
go.etcd.io/etcd/client/v2
go.etcd.io/etcd/client/v3
go.etcd.io/etcd/etcdctl/v3
go.etcd.io/etcd/v3
go.etcd.io/etcd/tests/v3"
}
@ -131,6 +132,7 @@ function run_for_modules {
run_for_module "raft" "$@" "${pkg}" || return "$?"
run_for_module "client/v2" "$@" "${pkg}" || return "$?"
run_for_module "client/v3" "$@" "${pkg}" || return "$?"
run_for_module "etcdctl" "$@" "${pkg}" || return "$?"
run_for_module "." "$@" "${pkg}" || return "$?"
run_for_module "tests" "$@" "${pkg}" || return "$?"
else