package
18.0.0-dev.vnet-windows.4+incompatible
Repository: https://github.com/gravitational/teleport.git
Documentation: pkg.go.dev
# Functions
MakeTestClient returns Postgres client connection according to the provided parameters.
NewEngine create new Postgres engine.
No description provided by the author
NewTestServer returns a new instance of a test Postgres server.
# Constants
TestErrorQuery is a stub SQL query clients can use to simulate a query that returns error.
TestLongRunningQuery is a stub SQL query clients can use to simulate a long running query that can be only be stopped by a cancel request.
# Variables
TestDeleteUserResponse is the response test Postgres server sends to every query that calls the auto user deletion procedure.
TestQueryResponse is the response test Postgres server sends to every success query.
# Structs
Engine implements the Postgres database service that accepts client connections coming over reverse tunnel from the proxy and proxies them between the proxy and the Postgres database instance.
No description provided by the author
Proxy proxies connections from Postgres clients to database services over reverse tunnel.
TablePermission is the represents a permission for particular database table.
TestServer is a test Postgres server used in functional database access tests.
UserEvent represents a user activation/deactivation event.
UserPermissionEvent represents a user permission change event.