Documentation
¶
Overview ¶
Package proxycmd reaches a database through a command whose stdin and stdout carry the connection, as OpenSSH's ProxyCommand: docker exec, kubectl exec, or ssh to a host that relays to a socket. It serves databases that publish no port.
The command runs without a shell, as the console account, in a session of its own with no controlling terminal, so that it can neither read what the human types into the console nor prompt there, and with an environment reduced to what such tools need to find their sockets and configuration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Proxy ¶
type Proxy struct {
// contains filtered or unexported fields
}
Proxy opens connections by running one argv per connection.
Click to show internal directories.
Click to hide internal directories.