rsync

package
v4.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 1, 2019 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RsyncDaemonStartTimeOut = 10 * time.Second
)
View Source
const (
	// RsyncRecommendedName is the recommended name for the rsync command
	RsyncRecommendedName = "rsync"
)

Variables

This section is empty.

Functions

func DefaultRsyncRemoteShellToUse

func DefaultRsyncRemoteShellToUse(cmd *cobra.Command) string

func NewCmdRsync

func NewCmdRsync(name, parent string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command

NewCmdRsync creates a new sync command

Types

type CopyStrategy

type CopyStrategy interface {
	Copy(source, destination *