Hitoshi Mitake
a89c2512ea
etcdctl, etcdmain: warn about --insecure-skip-tls-verify options
2020-06-22 19:53:45 -04:00
yuleixiao
04940efcc2
etcdctl: add keep alive time/timeout in etcdctl
...
client can switch from fault node to normal when keep alive is timeout
Fixes #7941
2017-10-09 09:51:43 +08:00
jiaxuanzhou
9a0f8c5917
etcdctl: add discovery-srv global flag for v3
2017-09-02 10:24:36 +08:00
Gyu-Ho Lee
6e9b776fce
etcdctl/ctlv3: add 'move-leader' command
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-06-23 13:19:12 -07:00
Gyu-Ho Lee
7388911e0c
ctlv3: add '--debug' flag (to enable grpclog)
...
By default, grpclog is disabled. It should be configurable
for debugging purposes, as we did in v2.
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-04-05 17:11:31 -07:00
Xiang Li
65ad91b14d
Merge pull request #7591 from xiang90/validate
...
etcdctl: add initial check perf command
2017-03-27 17:23:58 -07:00
Xiang
60d3375599
etcdctl: add initial check perf command
2017-03-27 17:01:15 -07:00
Anthony Romano
432c19de61
ctlv3: have "protobuf" in output help string instead of "proto"
...
Fixes #7538
2017-03-20 09:40:21 -07:00
fanmin shi
aca4ea2a29
etcdctl: modify etcdctl v2 and v3 for code coverage
2017-02-28 14:50:27 -08:00
Anthony Romano
5f3140987e
etcdctl: "fields" output formats
...
Writes out fields from responses in the format "FieldName" : FieldValue. If
FieldValue is a string, it is formatted with %q.
2016-12-12 13:21:20 -08:00
Xiang Li
86dcfbf205
etcdctl: list output options
2016-08-23 11:32:00 -07:00
Xiang Li
55ca788efe
etcdctl: only takes 127.0.0.1:2379 as default endpoint
2016-07-11 13:28:02 -07:00
Gyu-Ho Lee
80aa5978ca
etcdctl/ctlv3: minor clean ups
...
- Fix typo
- Improve command ordering (elect should be below lock)
- Update migrate command description
2016-06-21 13:12:01 -07:00
Gyu-Ho Lee
5cba7080bc
etcdctl/ctlv3: protobuf write-out for member list
...
Fix https://github.com/coreos/etcd/issues/5297 .
2016-05-25 22:23:57 -07:00
Xiang Li
6f2e7875aa
etcdctl: add migrate command
...
Migrate command accepts a datadir and an optional user-provided
transformer function that transform v2 keys to v2 keys.
Migrate command then builds a v3 backend state based on the existing
v2 keys and the output of the transformer function.
2016-05-19 12:17:15 -07:00
Hitoshi Mitake
6259318521
*: attach auth token as a gRPC credential
...
This commit adds a functionality of attaching an auth token to gRPC
connection as a per RPC credential.
For doing this, this commit lets clientv3.Client.Dial() create a
dedicated gRPC connection for doing authentication. With the dedicated
connection, the client calls Authenticate() RPC and obtain its
token. The token is attached to the main gRPC connection with
grpc.WithPerRPCCredentials().
This commit also adds a new option --username to etcdctl (v3). With
this option, etcdctl attaches its auth token to the main gRPC
connection (currently it is not used at all).
2016-05-17 13:26:12 +09:00
Gyu-Ho Lee
c538e0f9a9
etcdctl: update LICENSE header
2016-05-12 20:51:39 -07:00
Gyu-Ho Lee
3e088b3b40
etcdctl/ctlv3: make 'table' printer configurable
...
Fix https://github.com/coreos/etcd/issues/5296 .
2016-05-10 10:02:02 -07:00
Xiang Li
ae9b251d99
etcdctl: move endpoint-heath and status into endpoint command
2016-04-12 16:30:26 -07:00
Gyu-Ho Lee
6e6d64fb9b
*: clean up unused vars, functions
...
With help from https://github.com/dominikh/go-unused .
IsNetTimeoutError seems useful, so moved to pkg/netutil.
2016-04-06 21:33:55 -07:00
Hitoshi Mitake
2b17a3919c
*: support adding role in auth v3
2016-04-05 09:28:17 +09:00
mqliang
d80af00785
etcdctlv3: implement the 'etcdctl status' command
2016-04-03 13:55:58 +08:00
Anthony Romano
2aca3252e8
etcdctl: alarm command
2016-03-30 13:33:52 -07:00
Xiang Li
87d9f06a45
*: combine etcdctl and etcdctlv3
2016-03-28 11:28:05 -07:00