gcsbackupstorage

package
v2.0.0-alpha5+incompat... Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2015 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

Package gcsbackupstorage implements the BackupStorage interface for Google Cloud Storage.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GCSBackupHandle

type GCSBackupHandle struct {
	// contains filtered or unexported fields
}

GCSBackupHandle implements BackupHandle for Google Cloud Storage.

func (*GCSBackupHandle) AbortBackup

func (bh *GCSBackupHandle) AbortBackup() error

AbortBackup implements BackupHandle.

func (*GCSBackupHandle) AddFile

func (bh *GCSBackupHandle) AddFile(filename string) (io.WriteCloser, error)

AddFile implements BackupHandle.

func (*GCSBackupHandle) Directory

func (bh *GCSBackupHandle) Directory() string

Directory implements BackupHandle.

func (*GCSBackupHandle) EndBackup

func (bh *GCSBackupHandle) EndBackup() error

EndBackup implements BackupHandle.

func (*GCSBackupHandle) Name

func (bh *GCSBackupHandle) Name() string

Name implements BackupHandle.

func (*GCSBackupHandle) ReadFile

func (bh *GCSBackupHandle) ReadFile(filename string) (io.ReadCloser, error)

ReadFile implements BackupHandle.

type GCSBackupStorage

type GCSBackupStorage struct {
	// contains filtered or unexported fields
}

GCSBackupStorage implements BackupStorage for local file system.

func (*GCSBackupStorage) ListBackups

func (bs *GCSBackupStorage) ListBackups(dir string) ([]backupstorage.BackupHandle, error)

ListBackups implements BackupStorage.

func (*GCSBackupStorage) RemoveBackup

func (bs *GCSBackupStorage) RemoveBackup(dir, name string) error

RemoveBackup implements BackupStorage.

func (*GCSBackupStorage) StartBackup

func (bs *GCSBackupStorage) StartBackup(dir, name string) (backupstorage.BackupHandle, error)

StartBackup implements BackupStorage.

Jump to

Keyboard shortcuts

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