Ajit Yagaty
4e39db4158
etcdctlv3: Add insecure-skip-tls-verify flag.
...
The user can specify insecure-skip-tls-verify flag to skip the
server certificate verification step.
2016-03-25 19:28:41 -07:00
Xiang Li
a120ca16c0
etcdctlv3: accept evn for global configuration flags
2016-03-25 14:23:32 -07:00
mqliang
f165f8b44e
etcdctlv3: add timeout support
...
add timeout setting support for etcdctlv3
2016-03-25 16:24:49 +08:00
Xiang Li
0865688c27
etcdctlv3: support secure connection without key/cert
2016-03-24 16:29:33 -07:00
Anthony Romano
489779d905
clientv3: rename comparison from CreatedRevision to CreateRevision
...
To match protobuf naming
2016-03-23 09:50:46 -07:00
Xiang Li
88e738fcb6
Merge pull request #4844 from ajityagaty/polish_naming_conventions
...
clientv3: Renaming SortByCreatedRev to maintain consistency.
2016-03-23 09:27:34 -07:00
Ajit Yagaty
2bb417bfff
clientv3: Renaming SortByCreatedRev to maintain consistency.
...
Renamed SortByCreatedRev to SortByCreateRevision to be consistent
with the naming used for SortByModRevision.
2016-03-22 17:56:24 -07:00
Anthony Romano
bd832e5b0a
*: migrate Godeps to vendor/
2016-03-22 17:10:28 -07:00
Gyu-Ho Lee
5686340d26
etcdctlv3: get command with consistency flag
...
As we do in benchmark tool.
2016-03-22 16:52:28 -07:00
Xiang Li
096a89117a
Merge pull request #4840 from ajityagaty/polish_naming_conventions
...
clientv3: Fix inconsistent naming convention in v3 client.
2016-03-22 15:27:12 -07:00
Xiang Li
43221f0b7a
etcdctlv3: implement endpoint-health command
...
endpoint-health checks endpoint.
It can generate 3 outputs:
1. cannot connect to the member through endpoint
2. connected to the member, but member failed to commit any proposals
3. connected to the member, and member committed a proposal
2016-03-22 15:09:50 -07:00
Ajit Yagaty
606889a002
clientv3: Fix inconsistent naming convention in v3 client.
...
In order to have a consistent naming for variable/function names
pertaining to ModifiedRevision, all occurrences have been renamed
to ModRevision.
2016-03-22 14:58:11 -07:00
Gyu-Ho Lee
8396da3e83
etcdctlv3: add dial timeout flag
...
Fix https://github.com/coreos/etcd/issues/4836 .
2016-03-22 13:15:26 -07:00
Xiang Li
5a0bb40a41
etcdctlv3: use godep dir for tablewriter dependency
2016-03-21 11:47:55 -07:00
Xiang Li
f59a866fcb
Merge pull request #4795 from xiang90/table
...
etcdctlv3: make member list beautiful
2016-03-17 16:10:35 -07:00
Xiang Li
56d7899c20
etcdctlv3: member list now supports json
2016-03-17 15:54:44 -07:00
Xiang Li
c37cd1f0a1
etcdctlv3: make member list beautiful
2016-03-17 14:49:53 -07:00
Anthony Romano
a001651bc1
clientv3: remove dependency on lease package
2016-03-17 11:52:34 -07:00
Anthony Romano
44753594ec
v3rpc: move errors to v3rpc/rpctypes
...
Fixes #4771
2016-03-17 11:52:34 -07:00
mqliang
d8c315ab55
etcdctl: show leader/member information when run 'etcdctl member list' command
...
leader/follower information is very helpful for debugging. User must get this information through http endpoint
before this patch, which is inconvenient.
2016-03-16 13:48:37 +08:00
Xiang Li
a24aade667
etcdctlv3: add from-key flag for get command
2016-03-15 12:08:54 -07:00
siddontang
683274b201
etcdctlv3/command: add prefix flag for get
2016-03-15 12:54:13 +08:00
Anthony Romano
4bbbb52892
etcdctlv3: define non-interactive txn format to match interactive input
...
Fixes #4559
2016-03-14 13:36:18 -07:00
Xiang Li
7c377fa703
*: add client.defrag and defrag cmd for etcdctl
2016-03-10 09:30:41 -08:00
Anthony Romano
78132c9b5b
clientv3: use tls.Config in clientv3.Config
...
Fixes #4648
2016-03-07 16:08:40 -08:00
Anthony Romano
360aafec76
clientv3: include a context in Client
...
Useful for clean up tasks
2016-03-04 09:20:44 -08:00
Anthony Romano
1e16758029
clientv3: add Err() to WatchResponse
...
Checking for number of events as a failure condition was a kludge.
2016-03-03 15:21:04 -08:00
Anthony Romano
20d89bcf32
etcdctlv3: elect command
2016-03-03 00:22:19 -08:00
Gyu-Ho Lee
13025679c3
etcdctlv3: use string slice for endpoints
...
This deprecates 'endpoint' flag to enable etcdctl to parse
multi-endpoints flag.
2016-03-02 16:34:58 -08:00
Hitoshi Mitake
b9d77eaaf2
etcdctlv3: a new command auth
...
Currently a stub of subcommand "auth enable" is implemented.
2016-03-02 15:32:35 +09:00
Anthony Romano
f8c3fa637f
clientv3: use default client lease api
2016-02-25 18:13:26 -08:00
Anthony Romano
8f7d474a6b
clientv3: use default client cluster
2016-02-25 18:13:26 -08:00
Anthony Romano
3e57bbf317
clientv3: use default client kv
2016-02-25 18:13:26 -08:00
Anthony Romano
d430c7baf7
clientv3: use default client watcher
2016-02-25 18:13:26 -08:00
Anthony Romano
ed44bb00f8
etcdctlv3: lock command
2016-02-24 17:23:40 -08:00
Anthony Romano
9f569842f0
clientv3: move syncer to mirror package
...
to be in line with sync meaning process synchronization, not data
synchronization
2016-02-24 14:21:41 -08:00
Gyu-Ho Lee
7a7751b994
etcdctlv3: combine Watch, WatchPrefix
2016-02-23 20:02:24 -08:00
Anthony Romano
386c64be7f
etcdctlv3: protobuf formatting
2016-02-23 12:49:37 -08:00
Anthony Romano
355896b00a
etcdctlv3: json formatting
2016-02-23 12:49:37 -08:00
Anthony Romano
8302f839b6
etcdctlv3: add printer interface and simple printer
2016-02-23 09:56:57 -08:00
Xiang Li
a2902c08a9
etcdctlv3: make watch interactive mode better
2016-02-22 23:06:31 -08:00
Anthony Romano
4295d0db8b
etcdctlv3: use "\n" as output line separator
2016-02-22 15:45:56 -08:00
Anthony Romano
b280291f9e
etcdctlv3: use --interactive for interactive mode in watch
2016-02-22 14:38:23 -08:00
Anthony Romano
87dcb2adea
etcdctlv3: unify txn interactive mode input with get/put/delete
2016-02-22 14:38:23 -08:00
Anthony Romano
54d15256e7
etcdctlv3: use clientv3 api for txn command
2016-02-22 09:51:59 -08:00
Xiang Li
13deb32447
etcdctlv3: add doc for mirror maker
2016-02-19 14:18:14 -08:00
Xiang Li
755a022fcf
etcdctlv3: better watch command
2016-02-19 11:42:37 -08:00
Xiang Li
9ea8ed3a13
etcdctlv3: better get command
2016-02-18 14:19:51 -08:00
Xiang Li
917d75f65e
etcdctlv3: make del command better
2016-02-18 12:23:34 -08:00
Xiang Li
535064924c
etcdctlv3: make PUT command clean and documented
2016-02-18 07:46:05 -08:00