Documentation
¶
Index ¶
- type PowerShellService
- func (b *PowerShellService) RunCommand(ctx context.Context, options *parameteroptions.RunCommandOptions) (commandOutput *commandoutput.CommandOutput, err error)
- func (p *PowerShellService) RunOneLiner(ctx context.Context, oneLiner string) (output *commandoutput.CommandOutput, err error)
- func (p *PowerShellService) 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 PowerShellService ¶
type PowerShellService struct {
commandexecutorgeneric.CommandExecutorBase
}
func NewPowerShell ¶
func NewPowerShell() (p *PowerShellService)
func NewPowerShellService ¶
func NewPowerShellService() (p *PowerShellService)
func PowerShell ¶
func PowerShell() (p *PowerShellService)
func (*PowerShellService) RunCommand ¶
func (b *PowerShellService) RunCommand(ctx context.Context, options *parameteroptions.RunCommandOptions) (commandOutput *commandoutput.CommandOutput, err error)
func (*PowerShellService) RunOneLiner ¶
func (p *PowerShellService) RunOneLiner(ctx context.Context, oneLiner string) (output *commandoutput.CommandOutput, err error)
func (*PowerShellService) RunOneLinerAndGetStdoutAsString ¶
Click to show internal directories.
Click to hide internal directories.