etcd/etcdctl/ctlv3
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
..
command *: attach auth token as a gRPC credential 2016-05-17 13:26:12 +09:00
ctl.go *: attach auth token as a gRPC credential 2016-05-17 13:26:12 +09:00
help.go etcdctl: update LICENSE header 2016-05-12 20:51:39 -07:00