Documentation

Overview

    http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html#cli-config-files

    Index

    Constants

    This section is empty.

    Variables

    View Source
    var ErrWriteOnly = errors.New("backend is in read-only mode")

    Functions

    This section is empty.

    Types

    type S3Backend

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

    func New

    func New(logger log.Logger, back *blobsfile.BlobsFiles, h *hub.Hub, conf *config.Config, packsDir string) (*S3Backend, error)

    func (*S3Backend) BlobsFilesDownloadPack

    func (b *S3Backend) BlobsFilesDownloadPack(key string) error

    func (*S3Backend) BlobsFilesSyncWorker

    func (b *S3Backend) BlobsFilesSyncWorker(sealedPacks []string) error

    func (*S3Backend) BlobsFilesUploadPack

    func (b *S3Backend) BlobsFilesUploadPack(pack string) error

    func (*S3Backend) Close

    func (b *S3Backend) Close()

    func (*S3Backend) DownloadFile

    func (b *S3Backend) DownloadFile(key string, dest io.WriterAt) error

    func (*S3Backend) Exists

    func (b *S3Backend) Exists(hash string) (bool, error)

    func (*S3Backend) Get

    func (b *S3Backend) Get(hash string) ([]byte, error)

    func (*S3Backend) Indexed

    func (b *S3Backend) Indexed(hash string) (bool, error)

    func (*S3Backend) Put

    func (b *S3Backend) Put(hash string) error

    func (*S3Backend) Reindex

    func (b *S3Backend) Reindex(restore bool) error

    func (*S3Backend) Stats

    func (b *S3Backend) Stats() (map[string]interface{}, error)

    func (*S3Backend) String

    func (b *S3Backend) String() string

    func (*S3Backend) UploadFile

    func (b *S3Backend) UploadFile(src io.Reader, key string) error

    Source Files

    Directories

    Path Synopsis
    http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html#cli-config-files
    http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html#cli-config-files