Documentation ¶ Index ¶ Constants func New(cfg globalConfig.Global, logger logging.Logger) (executors.Executor, error) type Client type Executor func (e *Executor) Execute(ctx context.Context, vmInst vm.Instance, script []byte) error func (e *Executor) ProvisionScript() string Constants ¶ View Source const ( Name = "winrm" OS = "windows" ) Variables ¶ This section is empty. Functions ¶ func New ¶ func New(cfg globalConfig.Global, logger logging.Logger) (executors.Executor, error) Types ¶ type Client ¶ type Client interface { RunWithInput(command string, stdout, stderr io.Writer, stdin io.Reader) (int, error) } type Executor ¶ type Executor struct { // contains filtered or unexported fields } func (*Executor) Execute ¶ func (e *Executor) Execute(ctx context.Context, vmInst vm.Instance, script []byte) error func (*Executor) ProvisionScript ¶ func (e *Executor) ProvisionScript() string Source Files ¶ View all Source files executor.go Directories ¶ Show internal Expand all Path Synopsis config Click to show internal directories. Click to hide internal directories.