package
0.0.0-20250306163500-5f3bb2705e1f
Repository: https://github.com/versoriumx/teleport.git
Documentation: pkg.go.dev
# Functions
MakeTestClient returns Postgres client connection according to the provided parameters.
NewEngine create new Postgres engine.
NewTestServer returns a new instance of a test Postgres server.
# Constants
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
TestQueryResponse is the response test Postgres server sends to every 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.
Proxy proxies connections from Postgres clients to database services over reverse tunnel.
TestServer is a test Postgres server used in functional database access tests.
UserEvent represents a user activation/deactivation event.