Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteCommand ¶
Types ¶
type BashExecutor ¶
type BashExecutor struct {
// contains filtered or unexported fields
}
func (*BashExecutor) Create ¶
func (b *BashExecutor) Create(content string) error
func (*BashExecutor) Edit ¶
func (b *BashExecutor) Edit() error
func (*BashExecutor) Execute ¶
func (b *BashExecutor) Execute() error
type CmdExecutor ¶
type CmdExecutor struct {
// contains filtered or unexported fields
}
func (*CmdExecutor) Create ¶
func (c *CmdExecutor) Create(content string) error
func (*CmdExecutor) Edit ¶
func (c *CmdExecutor) Edit() error
func (*CmdExecutor) Execute ¶
func (c *CmdExecutor) Execute() error
type Executor ¶
func ChooseExecutor ¶
func ChooseExecutor() Executor
type PwshExecutor ¶
type PwshExecutor struct {
// contains filtered or unexported fields
}
func (*PwshExecutor) Create ¶
func (p *PwshExecutor) Create(content string) error
func (*PwshExecutor) Edit ¶
func (p *PwshExecutor) Edit() error
func (*PwshExecutor) Execute ¶
func (p *PwshExecutor) Execute() error
Click to show internal directories.
Click to hide internal directories.