scp

package
v18.1.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2017 License: Apache-2.0 Imports: 6 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 {
	// 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) error

Jump to

Keyboard shortcuts

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