tests: Rename common client lease methods to match
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
This commit is contained in:
@ -54,9 +54,9 @@ type Client interface {
|
||||
AlarmDisarm(context context.Context, alarmMember *clientv3.AlarmMember) (*clientv3.AlarmResponse, error)
|
||||
Grant(context context.Context, ttl int64) (*clientv3.LeaseGrantResponse, error)
|
||||
TimeToLive(context context.Context, id clientv3.LeaseID, opts config.LeaseOption) (*clientv3.LeaseTimeToLiveResponse, error)
|
||||
LeaseList(context context.Context) (*clientv3.LeaseLeasesResponse, error)
|
||||
LeaseKeepAliveOnce(context context.Context, id clientv3.LeaseID) (*clientv3.LeaseKeepAliveResponse, error)
|
||||
LeaseRevoke(context context.Context, id clientv3.LeaseID) (*clientv3.LeaseRevokeResponse, error)
|
||||
Leases(context context.Context) (*clientv3.LeaseLeasesResponse, error)
|
||||
KeepAliveOnce(context context.Context, id clientv3.LeaseID) (*clientv3.LeaseKeepAliveResponse, error)
|
||||
Revoke(context context.Context, id clientv3.LeaseID) (*clientv3.LeaseRevokeResponse, error)
|
||||
UserAdd(context context.Context, name, password string, opts config.UserAddOptions) (*clientv3.AuthUserAddResponse, error)
|
||||
UserList(context context.Context) (*clientv3.AuthUserListResponse, error)
|
||||
UserDelete(context context.Context, name string) (*clientv3.AuthUserDeleteResponse, error)
|
||||
|
Reference in New Issue
Block a user