scp

package
v18.1.17+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SCPClient

type SCPClient struct {
	SCPCommand string
	SSHCommand string
	// contains filtered or unexported fields
}

func New

func New(name, host string, port int, username, privateKeyPath, fingerPrint string, remotePathFn func() string) *SCPClient

func (*SCPClient) Name

func (c *SCPClient) Name() string

func (*SCPClient) Upload

func (client *SCPClient) Upload(localPath string, sessionLogger lager.Logger, processManager process.ProcessManager) error

Jump to

Keyboard shortcuts

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