scp

package
v0.0.0-...-fc02357 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	User            string
	Host            string
	Port            int32
	IdentifyKeyFile string
}

type Scp

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

func NewClient

func NewClient(config *Config) (*Scp, error)

func (*Scp) Close

func (s *Scp) Close()

func (*Scp) GetPodsFilePaths

func (s *Scp) GetPodsFilePaths(pod string) ([]string, error)

func (*Scp) GetServicesFilePaths

func (s *Scp) GetServicesFilePaths(name string) ([]string, error)

func (*Scp) Open

func (s *Scp) Open(path string) (*sftp.File, error)

Jump to

Keyboard shortcuts

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