Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CopyConfig ¶
type CopyConfig struct {
Source string
Destination string
Host string
User string
KeyPath string
Port int
}
CopyConfig holds configuration for file copy operations
func NewCopyConfig ¶
func NewCopyConfig(src, dst, host, user, key string) *CopyConfig
NewCopyConfig creates a new copy configuration with defaults
func (*CopyConfig) Execute ¶
func (c *CopyConfig) Execute() error
Execute performs the file copy operation
Click to show internal directories.
Click to hide internal directories.