package
0.0.0-20250306163500-5f3bb2705e1f
Repository: https://github.com/versoriumx/teleport.git
Documentation: pkg.go.dev
# Functions
MakeTestClient returns SQL Server client used in tests.
NewEngine create new SQL Server engine.
NewTestServer returns a new instance of a test MSServer.
# Constants
FederatedAuthDSNKey represents the federated auth DSN parameter key.
ResourceIDDSNKey represents the resource ID DSN parameter key.
# Structs
Engine handles connections from SQL Server clients coming from Teleport proxy over reverse tunnel.
Proxy accepts connections from SQL Server clients, performs a Pre-Login handshake and then forwards the connection to the database service agent.
TestConnector is used in tests to mock connections to SQL Server.
TestServer is a test MSServer server used in functional database access tests.
# Interfaces
Connector defines an interface for connecting to a SQL Server so it can be swapped out in tests.