rsync

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrSSHOnBothSrcAndDest = fmt.Errorf("cannot use ssh on both source and destination")

Functions

This section is empty.

Types

type Cmd added in v0.7.3

type Cmd struct {
	Port        int
	NoChown     bool
	Delete      bool
	SrcUseSSH   bool
	DestUseSSH  bool
	Command     string
	SrcSSHUser  string
	SrcSSHHost  string
	SrcPath     string
	DestSSHUser string
	DestSSHHost string
	DestPath    string
}

func (*Cmd) Build added in v0.7.3

func (c *Cmd) Build() (string, error)

type LogTail added in v0.7.3

type LogTail struct {
	LogReaderFunc   func() (io.ReadCloser, error)
	SuccessCh       <-chan bool
	ShowProgressBar bool
	Logger          *log.Entry
}

func (*LogTail) Start added in v0.7.3

func (l *LogTail) Start()

Jump to

Keyboard shortcuts

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