go-vitess.v1: gopkg.in/src-d/go-vitess.v1/vt/mysqlctl/gcsbackupstorage Index | Files

package gcsbackupstorage

import "gopkg.in/src-d/go-vitess.v1/vt/mysqlctl/gcsbackupstorage"

Package gcsbackupstorage implements the BackupStorage interface for Google Cloud Storage.

Index

Package Files

gcs.go

type GCSBackupHandle Uses

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

GCSBackupHandle implements BackupHandle for Google Cloud Storage.

func (*GCSBackupHandle) AbortBackup Uses

func (bh *GCSBackupHandle) AbortBackup(ctx context.Context) error

AbortBackup implements BackupHandle.

func (*GCSBackupHandle) AddFile Uses

func (bh *GCSBackupHandle) AddFile(ctx context.Context, filename string, filesize int64) (io.WriteCloser, error)

AddFile implements BackupHandle.

func (*GCSBackupHandle) Directory Uses

func (bh *GCSBackupHandle) Directory() string

Directory implements BackupHandle.

func (*GCSBackupHandle) EndBackup Uses

func (bh *GCSBackupHandle) EndBackup(ctx context.Context) error

EndBackup implements BackupHandle.

func (*GCSBackupHandle) Name Uses

func (bh *GCSBackupHandle) Name() string

Name implements BackupHandle.

func (*GCSBackupHandle) ReadFile Uses

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

ReadFile implements BackupHandle.

type GCSBackupStorage Uses

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

GCSBackupStorage implements BackupStorage for Google Cloud Storage.

func (*GCSBackupStorage) Close Uses

func (bs *GCSBackupStorage) Close() error

Close implements BackupStorage.

func (*GCSBackupStorage) ListBackups Uses

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

ListBackups implements BackupStorage.

func (*GCSBackupStorage) RemoveBackup Uses

func (bs *GCSBackupStorage) RemoveBackup(ctx context.Context, dir, name string) error

RemoveBackup implements BackupStorage.

func (*GCSBackupStorage) StartBackup Uses

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

StartBackup implements BackupStorage.

Package gcsbackupstorage imports 13 packages (graph). Updated 2019-06-13. Refresh now. Tools for package owners.