Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoScalerServerSSH ¶
type AutoScalerServerSSH struct { UserName string `json:"user"` Password string `json:"password"` AuthKeys string `json:"ssh-private-key"` WaitSshReadyInSeconds int `default:180 json:"wait-ssh-ready-seconds"` // contains filtered or unexported fields }
AutoScalerServerSSH contains ssh client infos
func (*AutoScalerServerSSH) GetAuthKeys ¶
func (ssh *AutoScalerServerSSH) GetAuthKeys() string
GetAuthKeys returns the path to key file, subsistute ~
func (*AutoScalerServerSSH) GetMode ¶
func (ssh *AutoScalerServerSSH) GetMode() bool
func (*AutoScalerServerSSH) GetUserName ¶
func (ssh *AutoScalerServerSSH) GetUserName() string
GetUserName returns user name from config or the real current username is empty or equal to ~
func (*AutoScalerServerSSH) SetMode ¶
func (ssh *AutoScalerServerSSH) SetMode(test bool)
Click to show internal directories.
Click to hide internal directories.