Documentation
¶
Index ¶
- Variables
- func CheckShells(preferredShell string) string
- func ConvertToBytes(input string) (int64, error)
- func CopyFields(src, dst interface{}, fields []string) error
- func DownloadUnpackTgz(downloadURL string, destDir string) error
- func FixListenAddress(address string) string
- func GenerateCertificate(dnsNames []string, ipAddresses []net.IP) (string, string, error)
- func GetGitHubKeys(username string) (string, error)
- func GetGitHubKeysArray(username string) ([]string, error)
- func GetLocalIP() (string, error)
- func InArray(slice []string, item string) bool
- func NewCopier(socket net.Conn, wsConnection *websocket.Conn) *copierConnections
- func PrintTable(table [][]string)
- func RedirectToSyslog(cmd *exec.Cmd)
- func UpdateAuthorizedKeys(keys []string, githubUsernames []string) error
- func UpdateSSHConfig(sshConfig string, alias string) error
- func UpgradeToWS(w http.ResponseWriter, r *http.Request) *websocket.Conn
Constants ¶
This section is empty.
Variables ¶
View Source
var Timezones = []string{}/* 575 elements not displayed */
Functions ¶
func CheckShells ¶
func ConvertToBytes ¶
func CopyFields ¶
CopyFields copies specified fields from src to dst using reflection.
func DownloadUnpackTgz ¶
func FixListenAddress ¶
func GenerateCertificate ¶
GenerateCertificate generates a self-signed certificate and private key in PEM format.
func GetGitHubKeys ¶
Download the public keys from GitHub, https://github.com/<username>.keys
func GetGitHubKeysArray ¶
func GetLocalIP ¶
Get the local IP address of the machine we're running on, interfaces are checked for being up.
func PrintTable ¶
func PrintTable(table [][]string)
func RedirectToSyslog ¶
func UpdateAuthorizedKeys ¶
func UpdateSSHConfig ¶
func UpgradeToWS ¶
Upgrade the connection to a websocket connection
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.