vm

package
v0.0.0-...-8696239 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SSHConnnection

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

func (*SSHConnnection) Connect

func (conn *SSHConnnection) Connect() error

connect to ssh endpoint and return connection

func (*SSHConnnection) Execute

func (conn *SSHConnnection) Execute(env map[string]string, command string, stdout io.Writer, stderr io.Writer) error

type Vm

type Vm struct {
	Name                string `json:"name"`
	ExecutedCmdsCounter int    `json:"counter"`
}

func (*Vm) Execute

func (machine *Vm) Execute(cmd string)

type VmConnection

type VmConnection interface {
	Connect()
}

Jump to

Keyboard shortcuts

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