fileCopier

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package fileCopier contains interfaces and functions to assist in copying files via ssh.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyToDestination

func CopyToDestination(ctx context.Context, f fileCopier) error

CopyToDestination wraps a FileCopier's copyToDestination method

func NewSSHFileCopier

func NewSSHFileCopier(source, account, node, destination string, fileCopierOptions []string, sshOptions []string, env environment.CommandEnvironment) *rsyncSetup

NewSSHFileCopier returns a FileCopier object that copies a file via ssh

Types

This section is empty.

Jump to

Keyboard shortcuts

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