Versions in this module Expand all Collapse all v1 v1.0.1 Sep 1, 2020 Changes in this version type TunnelFlags + GivenFlags []string + func (tf TunnelFlags) FlagGiven(flag string) bool v1.0.0 Aug 13, 2020 Changes in this version + const InstanceLogFile + const InstancePidFile + const ShowTemplate + func Add(alias *Alias) error + func Delete(alias string) error + func Dir() (string, error) + func Show(aliasName string) (string, error) + func ShowAll() (string, error) + type AddressInput struct + Host string + Port string + User string + func (ai *AddressInput) Set(value string) error + func (ai *AddressInput) Type() string + func (ai AddressInput) Address() string + func (ai AddressInput) String() string + type AddressInputList []AddressInput + func (il *AddressInputList) Set(value string) error + func (il *AddressInputList) Type() string + func (il AddressInputList) List() []string + func (il AddressInputList) String() string + type Alias struct + ConnectionRetries int + Destination []string + Detach bool + Insecure bool + KeepAliveInterval string + Key string + Name string + Server string + Source []string + SshAgent string + Timeout string + TunnelType string + Verbose bool + WaitAndRetry string + func Get(aliasName string) (*Alias, error) + func (a *Alias) Merge(tunnelFlags *TunnelFlags) + func (a Alias) ParseTunnelFlags() (*TunnelFlags, error) + func (a Alias) String() string + type InstanceConfiguration struct + Home string + LogFile string + PidFile string + func NewInstanceConfiguration(aliasName string) (*InstanceConfiguration, error) + type TunnelFlags struct + ConnectionRetries int + Destination AddressInputList + Detach bool + Insecure bool + KeepAliveInterval time.Duration + Key string + Server AddressInput + Source AddressInputList + SshAgent string + Timeout time.Duration + TunnelType string + Verbose bool + WaitAndRetry time.Duration + func (tf TunnelFlags) ParseAlias(name string) *Alias + func (tf TunnelFlags) String() string