Versions in this module Expand all Collapse all v0 v0.7.0 Aug 18, 2026 Changes in this version + func QuotePOSIXShellArg(value string) string + type Executor struct + func NewExecutor(sshConfig *config.SSHConfig, purpose, tempPrefix string, ...) (*Executor, error) + func NewExecutorContext(ctx context.Context, sshConfig *config.SSHConfig, purpose, tempPrefix string, ...) (*Executor, error) + func (executor *Executor) Close() + func (executor *Executor) CreateTempDir() (string, error) + func (executor *Executor) CreateTempDirContext(ctx context.Context) (string, error) + func (executor *Executor) IsRoot() bool + func (executor *Executor) RemoveTempDir(tempDir string) error + func (executor *Executor) RemoveTempDirContext(ctx context.Context, tempDir string) error + func (executor *Executor) Run(command string, input []byte, privileged bool) ([]byte, error) + func (executor *Executor) RunContext(ctx context.Context, command string, input []byte, privileged bool) ([]byte, error) + func (executor *Executor) Upload(remoteFile string, content []byte) error + func (executor *Executor) UploadContext(ctx context.Context, remoteFile string, content []byte) error