Documentation ¶
Overview ¶
Package alias provides utility functions related to alias configuration file management.
The alias configuration files are stored on `$HOME/.mole` on files named after the alias name.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Alias ¶
type Alias struct { Name string `toml:"name"` TunnelType string `toml:"type"` Verbose bool `toml:"verbose"` Insecure bool `toml:"insecure"` Detach bool `toml:"detach"` Source []string `toml:"source"` Destination []string `toml:"destination"` Server string `toml:"server"` Key string `toml:"key"` KeepAliveInterval string `toml:"keep-alive-interval"` ConnectionRetries int `toml:"connection-retries"` WaitAndRetry string `toml:"wait-and-retry"` SshAgent string `toml:"ssh-agent"` Timeout string `toml:"timeout"` SshConfig string `toml:"config"` Rpc bool `toml:"rpc"` RpcAddress string `toml:"rpc-address"` }
Alias holds all attributes required to start a ssh port forwarding tunnel.
Click to show internal directories.
Click to hide internal directories.