tests/framework: Add Client.LeaseKeepAliveOnce

This commit is contained in:
Danielle Lancashire
2022-03-16 16:00:05 +00:00
parent c12e03c8e6
commit 353b011f59
3 changed files with 23 additions and 0 deletions

View File

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