 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
const (
	// RsyncRecommendedName is the recommended name for the rsync command
	RsyncRecommendedName = "rsync"
)
    Variables ¶
This section is empty.
Functions ¶
Types ¶
type RsyncOptions ¶
type RsyncOptions struct {
	Namespace     string
	ContainerName string
	Source        *pathSpec
	Destination   *pathSpec
	Strategy      copyStrategy
	StrategyName  string
	Quiet         bool
	Delete        bool
	RsyncInclude  string
	RsyncExclude  string
	RsyncProgress bool
	RsyncNoPerms  bool
	Out    io.Writer
	ErrOut io.Writer
}
    RsyncOptions holds the options to execute the sync command
func (*RsyncOptions) Complete ¶
Complete verifies command line arguments and loads data from the command environment
func (*RsyncOptions) PodName ¶
func (o *RsyncOptions) PodName() string
PodName returns the name of the pod as specified in either the the source or destination arguments
func (*RsyncOptions) RunRsync ¶
func (o *RsyncOptions) RunRsync() error
RunRsync copies files from source to destination
func (*RsyncOptions) Validate ¶
func (o *RsyncOptions) Validate() error
Validate checks that SyncOptions has all necessary fields
       Source Files
      ¶
      Source Files
      ¶
    
- copymulti.go
- copyrsync.go
- copyrsyncd.go
- copytar.go
- execlocal.go
- execremote.go
- forwarder.go
- pathspec.go
- rsync.go
- util.go
 Click to show internal directories. 
   Click to hide internal directories.