Documentation ¶
Index ¶
- func CheckPort(port int) (bool, string, error)
- func GenerateSSHConfigFile(app *config.Atun) (string, error)
- func GetPublicKey(path string) (string, error)
- func GetRunningTunnels(c *config.Atun) ([]config.Config, error)
- func GetSSHTunnelStatus(app *config.Atun) (bool, [][]string, error)
- func GetSSMPluginStatus(app *config.Atun) (bool, error)
- func StartSSHTunnel(app *config.Atun) error
- func StopSSHTunnel(app *config.Atun) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPort ¶
CheckPort checks if the port is occupied and returns true/false and also process name
func GetPublicKey ¶
GetPublicKey gets the public key from the private key
func StartSSHTunnel ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.