remotes

package
v0.3.22-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package remotes contains operations to store and retrieve backups in remote storage locations such as Amazon S3.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListObjectsInS3Bucket

func ListObjectsInS3Bucket(s3endpoint, bucket string) ([]string, error)

ListObjectsInS3Bucket lists all backup IDs from a bucket in an S3 compatible storage, using s3endpoint.

func StoreInS3

func StoreInS3(s3endpoint, bucket, target, backupid string) error

StoreInS3 stores backup with backupid (in directory target) in bucket in an S3 compatible storage, using s3endpoint.

Types

This section is empty.

Jump to

Keyboard shortcuts

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