mirror of
https://github.com/gravitational/teleport
synced 2024-10-21 01:34:01 +00:00
2b2de5c6be
* update tsh db resource selection * add --labels and --query to tsh db subcommands * tsh db [login | logout | env | config | connect] * tsh proxy db * add hasPrefix to predicate lang * add teleport.dev/discovered-name * print "discovered name" of databases discovered by discovery service, which is the name of the database resource in the cloud, when using tsh db ls without --verbose flag. This avoids printing verbose uniquely identifying names when discovery service is updated to append a uniquely identify suffix to discovered databases in AWS/Azure/GCP. * tsh db ls --verbose ignores the label * fix db connect string in tsh db ls * select database by prefix, labels, and/or query predicate. * chooses active database by exact match if the "prefix" matches exactly and no labels/predicate is given. * logout of a subset of databases with tsh db logout. * print an "ambiguous match" error if prefix/labels/query matches multiple databases where one is required. * move all --labels cli flags to cf.Labels from cf.UserHost * update tsh db tests * speedup slow tsh db tests * postgres/mysql profile respect home dir * rename test cases for consistency * test database listing uses discovered-name * test login/env/config/logout with prefix/label/predicate selectors * test active db filtering logic * fix tests broken by merge |
||
---|---|---|
.. | ||
common | ||
testenv | ||
main.go |