Merge pull request #13819 from endocrimes/dani/auth_test.go

migrate e2e/users tests to common framework
This commit is contained in:
Marek Siarkowicz
2022-04-06 16:02:46 +02:00
committed by GitHub
7 changed files with 505 additions and 209 deletions

View File

@ -55,4 +55,9 @@ type Client interface {
LeaseList() (*clientv3.LeaseLeasesResponse, error)
LeaseKeepAliveOnce(id clientv3.LeaseID) (*clientv3.LeaseKeepAliveResponse, error)
LeaseRevoke(id clientv3.LeaseID) (*clientv3.LeaseRevokeResponse, error)
UserAdd(name, password string, opts config.UserAddOptions) (*clientv3.AuthUserAddResponse, error)
UserList() (*clientv3.AuthUserListResponse, error)
UserDelete(name string) (*clientv3.AuthUserDeleteResponse, error)
UserChangePass(user, newPass string) error
}