rclone

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckRcloneExists

func CheckRcloneExists() (err error)

CheckRcloneExists : check if rclone is in PATH

func GenerateConfig

func GenerateConfig(config Config) (err error)

GenerateConfig : generate rclone config wit bot remotes from a template

func Sync

func Sync(safeUUID string, archiveUUID string, s3Profile string, bucketName string, bucketPrefix string) (err error)

Sync : run rclone sync command

Types

type Config

type Config struct {
	SafeUUID    string
	ArchiveUUID string
	C14Host     string
	C14Port     string
	C14User     string
	C14Password string
	S3AccessKey string
	S3SecretKey string
	S3Profile   string
}

Jump to

Keyboard shortcuts

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