Documentation ¶
Index ¶
- Constants
- func AddSSHConfig(jobID int64, ipAddress string) error
- func AttachToTmuxSession(jobID int64) error
- func DeleteSSHConfig(jobID int64) error
- func EnsureSSHIncludeConfig() error
- func GetOrCreateSSHKeyPair() (string, error)
- func StreamLogs(jobID int64) error
- func WaitForSSHConnection(jobID int64) error
- type HostConfig
Constants ¶
View Source
const HostConfigTemplate = `` /* 260-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func AddSSHConfig ¶
func AttachToTmuxSession ¶
func DeleteSSHConfig ¶
func EnsureSSHIncludeConfig ¶
func EnsureSSHIncludeConfig() error
Verify that the $HOME/.ssh/config file imports everything from the config.d dir We'll add/remove config for each server by adding/removing files in this dir
func GetOrCreateSSHKeyPair ¶
Creates a new keypair that will be used to auth with all servers
func StreamLogs ¶
func WaitForSSHConnection ¶
Types ¶
type HostConfig ¶
Click to show internal directories.
Click to hide internal directories.