Documentation ¶
Index ¶
Constants ¶
View Source
const BotSetupPath = "/data/pod-bot-install.sh"
path to copy to
View Source
const SetupScriptPath = "../vector-cloud/pod-bot-install.sh"
this file will be copied to the bot
Variables ¶
View Source
var SSHSettingUp bool = false
View Source
var SetupSSHStatus string = "not running"
Functions ¶
func CreateCertCombo ¶
func CreateCertCombo() error
creates and exports a priv/pub key combo generated with IP address
func CreateServerConfig ¶
func CreateServerConfig()
outputs a server config to ../certs/server_config.json
func GetOutboundIP ¶
func RegisterSSHAPI ¶
func RegisterSSHAPI()
func SetupBotViaSSH ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.