Documentation ¶
Index ¶
- func CreateRootCerts() error
- func CreateSSHKey() (string, string, error)
- func ExecSSHCmd(publicIP string, privateKey string, uname string, command string) (string, error)
- func LoadJsonConfig() (map[string]string, error)
- func LoadStdinToEnvAndKeys() error
- func LogError(err error)
- func LogErrorMessage(message string)
- func LogInfo(message string)
- func RandSeq(n int) string
- func SetKey(key string, value string) error
- func WaitForSSH(publicIP string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRootCerts ¶
func CreateRootCerts() error
func CreateSSHKey ¶
CreateSSHKey is used to generate rsa private & public keys that are used to set keys for ssh login to a server.
func ExecSSHCmd ¶
func LoadJsonConfig ¶
func LoadStdinToEnvAndKeys ¶
func LoadStdinToEnvAndKeys() error
func LogErrorMessage ¶
func LogErrorMessage(message string)
func SetKey ¶
SetKey is used to log key value pairs to stdout/etcd so that dray can pass them down to subsequent images as needed. By default keys are logged to stdout as ----BEGIN PANAMAX DATA----\nkey=value\n----END PANAMAX DATA---- tags. If LOG_TO env var is set to etcd, then keys are logged to etcd. The etcd api is set using ETCD_API env variable.
func WaitForSSH ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.