transport

package
v0.0.0-...-7b19316 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SSHTransport

type SSHTransport struct {
	Addr string
	// contains filtered or unexported fields
}

func SSHInit

func SSHInit(addr, user, key string) (*SSHTransport, error)

func (*SSHTransport) CopyFile

func (s *SSHTransport) CopyFile(source, dest string) error

func (*SSHTransport) RunCmd

func (s *SSHTransport) RunCmd(cmd string) ([]byte, error)

Jump to

Keyboard shortcuts

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