Documentation
¶
Index ¶
- type BashService
- func (b *BashService) GetDeepCopy() (deepCopy commandexecutorinterfaces.CommandExecutor)
- func (b *BashService) GetHostDescription() (hostDescription string, err error)
- func (b *BashService) RunCommand(ctx context.Context, options *parameteroptions.RunCommandOptions) (commandOutput *commandoutput.CommandOutput, err error)
- func (b *BashService) RunOneLiner(ctx context.Context, oneLiner string) (output *commandoutput.CommandOutput, err error)
- func (b *BashService) RunOneLinerAndGetStdoutAsLines(ctx context.Context, oneLiner string) (stdoutLines []string, err error)
- func (b *BashService) RunOneLinerAndGetStdoutAsString(ctx context.Context, oneLiner string) (stdout string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BashService ¶
type BashService struct {
commandexecutorgeneric.CommandExecutorBase
}
func NewBashService ¶
func NewBashService() (b *BashService)
func (*BashService) GetDeepCopy ¶
func (b *BashService) GetDeepCopy() (deepCopy commandexecutorinterfaces.CommandExecutor)
func (*BashService) GetHostDescription ¶
func (b *BashService) GetHostDescription() (hostDescription string, err error)
func (*BashService) RunCommand ¶
func (b *BashService) RunCommand(ctx context.Context, options *parameteroptions.RunCommandOptions) (commandOutput *commandoutput.CommandOutput, err error)
func (*BashService) RunOneLiner ¶
func (b *BashService) RunOneLiner(ctx context.Context, oneLiner string) (output *commandoutput.CommandOutput, err error)
func (*BashService) RunOneLinerAndGetStdoutAsLines ¶
func (*BashService) RunOneLinerAndGetStdoutAsString ¶
Click to show internal directories.
Click to hide internal directories.