Documentation ¶
Index ¶
- Variables
- func Connect(user, password, host string, port int) (*ssh.Session, error)
- func DisplayLogo(version string)
- func ExecuteCmd(node *models.Node, cmd string)
- func GenerateUUID(length int) string
- func GetInstallLog(node *models.Node) string
- func GetMasterIP() string
- func GetToken() string
- func IsValidPort(port string) bool
- func RunSetup(script string, ch chan int, args ...string)
- func SaveMasterIP(masterIP string)
- func SetupDocker(masterAddr string) bool
- func SetupMaster(masterAddr string) bool
- func StartServer(filePort string) *http.Server
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CheckSymbol = "\u2714 " CrossSymbol = "\u2716 " )
View Source
var StdChars = []byte("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789")
Functions ¶
func DisplayLogo ¶
func DisplayLogo(version string)
func ExecuteCmd ¶
func GenerateUUID ¶
func GetInstallLog ¶
func GetMasterIP ¶
func GetMasterIP() string
func IsValidPort ¶
func SaveMasterIP ¶
func SaveMasterIP(masterIP string)
func SetupDocker ¶
func SetupMaster ¶
func StartServer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.