ssh

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2022 License: ISC Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRunnerParameters

func NewRunnerParameters() eventline.RunnerParameters

func RunnerDef

func RunnerDef() *eventline.RunnerDef

Types

type Runner

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

func (*Runner) DirPath

func (r *Runner) DirPath() string

func (*Runner) ExecuteStep

func (r *Runner) ExecuteStep(ctx context.Context, se *eventline.StepExecution, step *eventline.Step, stdout, stderr io.WriteCloser) error

func (*Runner) Init

func (r *Runner) Init(ctx context.Context) error

func (*Runner) Terminate

func (r *Runner) Terminate()

type RunnerCfg

type RunnerCfg struct {
	RootDirectory string `json:"root_directory"`
}

func (*RunnerCfg) Check

func (cfg *RunnerCfg) Check(c *check.Checker)

type RunnerParameters

type RunnerParameters struct {
	Host             string `json:"host"`
	Port             int    `json:"port"`
	User             string `json:"user"`
	HostKey          []byte `json:"host_key,omitempty"`
	HostKeyAlgorithm string `json:"host_key_algorithm,omitempty"`
}

func (*RunnerParameters) Check

func (r *RunnerParameters) Check(c *check.Checker)

Jump to

Keyboard shortcuts

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