# Functions
New creates a new client proxy.
No description provided by the author
TestClientTlsConfig is designed to allow tests to obtain the TLS configuration that would be used by the proxy in order to make specific calls to workers during tests.
WithApiClient provides an optional Boundary API client Experimental: It is unclear whether the current usage of this option is the approach that we want to take in the long term.
WithConnectionsLeftCh allows providing a channel to receive updates about how many connections are left.
WithListenAddrPort allows overriding an address to listen on.
WithListener allows passing a listener on which to accept connections.
WithSessionAuthorizationData can be used to provide already-unmarshaled session authorization instead of a string token.
WithSessionTeardownTimeout provides an optional duration which overwrites the default session teardown timeout.
WithSkipSessionTeardown can be used to override the normal behavior of the session sending a teardown request to the worker on completion.
WithWorkerHost can be used to override the worker host read from the session authorization data.
# Structs
No description provided by the author
No description provided by the author
Options contains various options.
SshPrivateKey contains the username and private key with optional passphrase for the key.
UsernamePassword contains username and password credentials.
# Type aliases
Option is a function that takes in an options struct and sets values or returns an error.