Documentation ¶
Index ¶
- func AskForConfirmation() bool
- func CheckErr(err error)
- func FileExist(path string) bool
- func SendPackage(sshConfig *sshutils.SSH, location string, hosts []string, dstDir string, ...) error
- func SendPackageLocal(location string, dstDir string, after *string) error
- func SendPackageV2(sshConfig *sshutils.SSH, location string, hosts []string, dstDir string, ...) error
- func UsageErrorf(cmd *cobra.Command, format string, args ...interface{}) error
- func WaitInputPasswd() (string, error)
- func WriteToFile(path string, data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AskForConfirmation ¶
func AskForConfirmation() bool
func SendPackage ¶
func SendPackageLocal ¶ added in v1.4.0
func SendPackageV2 ¶
func SendPackageV2(sshConfig *sshutils.SSH, location string, hosts []string, dstDir string, before, after *string) error
SendPackageV2 scp file to remote host Deprecated
func WaitInputPasswd ¶
func WriteToFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.