Documentation ¶
Overview ¶
commander
shell.go defines how a Shell script should be executed on agents.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
func (*Command) ToOsExecCommand ¶
type ShellScript ¶
type ShellScript struct {
// contains filtered or unexported fields
}
func NewShellScript ¶
func NewShellScript() *ShellScript
func (*ShellScript) GetCommand ¶
func (c *ShellScript) GetCommand() *Command
func (*ShellScript) Init ¶
func (c *ShellScript) Init(code string)
func (*ShellScript) Name ¶
func (c *ShellScript) Name() string
func (*ShellScript) Pipe ¶
func (c *ShellScript) Pipe(code string) *ShellScript
Click to show internal directories.
Click to hide internal directories.