sftp

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: MIT Imports: 7 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 `flag:"user,User name" reg:"User"`
	Password   string `flag:"password,Password" reg:"Password"`
	PrivateKey string `flag:"privatekey,PrivateKey" reg:"PrivateKey"`
	Host       string `flag:"host,Host:port" reg:"Host"`
	Basepath   string `flag:"basepath,Base path on remote server" reg:"Basepath"`
}

func (*Config) ToFileSystem

func (c *Config) ToFileSystem(logger zerolog.Logger) (afero.Fs, error)

func (*Config) Validate

func (c *Config) Validate() error

Jump to

Keyboard shortcuts

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