tests/framework: add Client.LeaseList

This commit is contained in:
Danielle Lancashire
2022-03-16 15:00:29 +00:00
parent 6b7be72a43
commit 68e6493977
3 changed files with 23 additions and 1 deletions

View File

@ -43,4 +43,5 @@ type Client interface {
Defragment(opts config.DefragOption) error
Grant(ttl int64) (*clientv3.LeaseGrantResponse, error)
TimeToLive(id clientv3.LeaseID, opts config.LeaseOption) (*clientv3.LeaseTimeToLiveResponse, error)
LeaseList() (*clientv3.LeaseLeasesResponse, error)
}