scp

package
v18.3.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2019 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

Directories

Path Synopsis
fixtures

Jump to

Keyboard shortcuts

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