Liking cljdoc? Tell your friends :D

metabase.util.ssh


include-ssh-tunnelclj

(include-ssh-tunnel details)

Updates connection details for a data warehouse to use the ssh tunnel host and port For drivers that enter hosts including the protocol (https://host), copy the protocol over as well

Updates connection details for a data warehouse to use the ssh tunnel host and port
For drivers that enter hosts including the protocol (https://host), copy the protocol over as well
sourceraw docstring

ssh-tunnel-preferencesclj

Configuration parameters to include in the add driver page on drivers that support ssh tunnels

Configuration parameters to include in the add driver page on drivers that
support ssh tunnels
sourceraw docstring

start-ssh-tunnelclj

(start-ssh-tunnel {:keys [tunnel-host tunnel-port tunnel-user tunnel-pass host
                          port]})

Opens a new ssh tunnel and returns the connection along with the dynamically assigned tunnel entrance port. It's the callers responsibility to call .disconnect on the returned connection object.

Opens a new ssh tunnel and returns the connection along with the dynamically
assigned tunnel entrance port. It's the callers responsibility to call .disconnect
on the returned connection object.
sourceraw docstring

use-ssh-tunnel?clj

(use-ssh-tunnel? details)

Is the SSH tunnel currently turned on for these connection details

Is the SSH tunnel currently turned on for these connection details
sourceraw docstring

with-ssh-tunnelcljmacro

(with-ssh-tunnel [name details] & body)

Starts an ssh tunnel, and binds the supplied name to a database details map with it's values adjusted to use the tunnel

Starts an ssh tunnel, and binds the supplied name to a database
details map with it's values adjusted to use the tunnel
sourceraw docstring

with-ssh-tunnel*clj

(with-ssh-tunnel* {:keys [host port tunnel-host tunnel-user tunnel-pass]
                   :as details}
                  f)

Starts an SSH tunnel, runs the supplied function with the tunnel open, then closes it

Starts an SSH tunnel, runs the supplied function with the tunnel open, then closes it
sourceraw docstring

with-tunnel-configclj

(with-tunnel-config driver-options)

Add preferences for ssh tunnels to a drivers :connection-properties

Add preferences for ssh tunnels to a drivers :connection-properties
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close