sync

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Rsync

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

func NewRsync

func NewRsync(sshPort uint16, args []string, privateKeyFile string, stdout, stderr io.Writer) *Rsync

NewRsync create new instance of rsync executor

func (*Rsync) Sync

func (s *Rsync) Sync(destination string, includes, excludes []string) error

Sync executes underying rsync to synchronize fiels to target host

Jump to

Keyboard shortcuts

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