runner

package
v1.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecRunner

type ExecRunner struct {
	// contains filtered or unexported fields
}

func NewExecRunner

func NewExecRunner(command string, args []string, envs []string) *ExecRunner

func (*ExecRunner) Run added in v1.3.0

func (runner *ExecRunner) Run(writer io.Writer) error

type SshRunner

type SshRunner struct {
	// contains filtered or unexported fields
}

func NewSshRunner

func NewSshRunner(sshHost string, sshKey string, sshUser string, command string) *SshRunner

func (*SshRunner) Run added in v1.3.0

func (runner *SshRunner) Run(writer io.Writer) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL