Documentation ¶
Index ¶
- Variables
- func Default_AsyncShellCall(cmd_ string) *exec.Cmd
- func Default_AsyncShellCallAsUser(username string, cmd_ string) *exec.Cmd
- func Default_FileExist(path string) bool
- func Default_ShellCall(cmd_ string) string
- func Default_ShellCallAsUser(username string, cmd_ string) string
- func Default_ShellCallWithInput(input io.Reader, cmd_ string) string
- func Default_WriteFile(file_name string, c string, args ...fs.FileMode) error
- type CmdBinaryResult
- type CmdResult
Constants ¶
This section is empty.
Variables ¶
View Source
var ( WriteFile = Default_WriteFile FileExist = Default_FileExist ShellCall = Default_ShellCall ShellCallAsUser = Default_ShellCallAsUser ShellCallWithInput = Default_ShellCallWithInput AsyncShellCall = Default_AsyncShellCall AsyncShellCallAsUser = Default_AsyncShellCallAsUser CommandCall = Default_CommandCall CommandCallAsUser = Default_CommandCallAsUser CommandCallWithInput = Default_CommandCallWithInput BinaryCommandCall = Default_BinaryCommandCall BinaryCommandCallAsUser = Default_BinaryCommandCallAsUser BinaryCommandCallWithInput = Default_BinaryCommandCallWithInput )
Functions ¶
func Default_AsyncShellCall ¶ added in v1.0.1
func Default_AsyncShellCallAsUser ¶ added in v1.0.1
func Default_FileExist ¶ added in v1.0.1
func Default_ShellCall ¶ added in v1.0.1
func Default_ShellCallAsUser ¶ added in v1.0.1
func Default_ShellCallWithInput ¶ added in v1.0.1
Types ¶
type CmdBinaryResult ¶
func Default_BinaryCommandCall ¶ added in v1.0.1
func Default_BinaryCommandCall(name string, arg ...string) CmdBinaryResult
func Default_BinaryCommandCallAsUser ¶ added in v1.0.1
func Default_BinaryCommandCallAsUser(username string, name string, arg ...string) CmdBinaryResult
func Default_BinaryCommandCallWithInput ¶ added in v1.0.1
func Default_BinaryCommandCallWithInput(input io.Reader, name string, arg ...string) CmdBinaryResult
type CmdResult ¶
func Default_CommandCall ¶ added in v1.0.1
func Default_CommandCallAsUser ¶ added in v1.0.1
Click to show internal directories.
Click to hide internal directories.