Documentation ¶
Index ¶
- Variables
- func ConvertFileModeToPermString(mode os.FileMode) string
- func Copy(session *ssh.Session, from, target string) error
- func CopyFile(session *ssh.Session, file io.Reader, filename string, size int64, ...) error
- func CopyFolder(session *ssh.Session, from string, mode os.FileMode, target string) error
- type Options
- func (o *Options) Copy(session *ssh.Session, from, target string) error
- func (o *Options) CopyFile(session *ssh.Session, file io.Reader, filename string, size int64, ...) error
- func (o *Options) CopyFolder(session *ssh.Session, from string, mode os.FileMode, target string) error
- func (o *Options) NewClient(session *ssh.Session) (*RemoteClient, error)
- func (o *Options) ScpPath(scpPath string) *Options
- type RemoteClient
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultOptions = &Options{}
Functions ¶
Types ¶
type Options ¶ added in v1.1.0
type Options struct {
// contains filtered or unexported fields
}
func (*Options) CopyFolder ¶ added in v1.1.0
type RemoteClient ¶
type RemoteClient struct {
// contains filtered or unexported fields
}
func (*RemoteClient) WriteDirectoryEnd ¶
func (c *RemoteClient) WriteDirectoryEnd() error
func (*RemoteClient) WriteDirectoryStart ¶
func (c *RemoteClient) WriteDirectoryStart(perm string, filename string) error
Click to show internal directories.
Click to hide internal directories.