Documentation ¶
Index ¶
- func Exec(cmdStr string) (string, error)
- func ExecCronjobWithTimeOut(cmdStr string, timeout time.Duration) (string, error)
- func ExecWithTimeOut(cmdStr string, timeout time.Duration) (string, error)
- func Execf(cmdStr string, a ...interface{}) (string, error)
- func HasNoPasswordSudo() bool
- func SudoHandleCmd() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecCronjobWithTimeOut ¶
func HasNoPasswordSudo ¶
func HasNoPasswordSudo() bool
func SudoHandleCmd ¶
func SudoHandleCmd() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.