package
18.0.0-dev.vnet-windows.4+incompatible
Repository: https://github.com/gravitational/teleport.git
Documentation: pkg.go.dev
# Packages
Package protocol implements parts of MySQL wire protocol which are needed for the service to be able to interpret the protocol messages but are not readily available in the convenient form in the vendored MySQL library.
# Functions
FetchMySQLVersion connects to MySQL database and tries to read the handshake packet and return the version.
MakeTestClient returns MySQL client connection according to the provided parameters.
MakeTestClientWithoutTLS returns a MySQL client connection without setting TLS config to the MySQL client.
NewEngine create new MySQL engine.
NewTestServer returns a new instance of a test MySQL server.
WithServerVersion sets the test MySQL server version.
# Constants
DefaultServerVersion is advertised to MySQL clients during handshake.
# Variables
TestQueryResponse is what test MySQL server returns to every query.
# Structs
Engine implements the MySQL database service that accepts client connections coming over reverse tunnel from the proxy and proxies them between the proxy and the MySQL database instance.
Proxy proxies connections from MySQL clients to database services over reverse tunnel.
TestServer is a test MySQL server used in functional database access tests.
UserEvent represents a user activation/deactivation event.
# Interfaces
TestClientConn defines interface for client.Conn.
# Type aliases
TestServerOption allows to set test server options.