Documentation
¶
Index ¶
- type CmdExecutionResult
- type CommandOutputWriter
- func (c *CommandOutputWriter) ExecFullOutput(command string) (outOk []byte, outErr []byte, err error)
- func (c *CommandOutputWriter) ExecHeadOutput(command string) (outOk []byte, outErr []byte, err error)
- func (c *CommandOutputWriter) ExecTailOutput(command string) (outOk []byte, outErr []byte, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CmdExecutionResult ¶ added in v2.2.0
type CommandOutputWriter ¶
type CommandOutputWriter struct {
TimeoutSecond int
}
func (*CommandOutputWriter) ExecFullOutput ¶
func (c *CommandOutputWriter) ExecFullOutput(command string) (outOk []byte, outErr []byte, err error)
func (*CommandOutputWriter) ExecHeadOutput ¶
func (c *CommandOutputWriter) ExecHeadOutput(command string) (outOk []byte, outErr []byte, err error)
func (*CommandOutputWriter) ExecTailOutput ¶
func (c *CommandOutputWriter) ExecTailOutput(command string) (outOk []byte, outErr []byte, err error)
Click to show internal directories.
Click to hide internal directories.