camlistore.org: camlistore.org/pkg/blobserver/google/cloudstorage Index | Files

package cloudstorage

import "camlistore.org/pkg/blobserver/google/cloudstorage"

Package cloudstorage registers the "googlecloudstorage" blob storage type, storing blobs on Google Cloud Storage (not Google Drive). See https://cloud.google.com/products/cloud-storage

Index

Package Files

storage.go

type Storage Uses

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

func (*Storage) EnumerateBlobs Uses

func (s *Storage) EnumerateBlobs(ctx context.Context, dest chan<- blob.SizedRef, after string, limit int) error

func (*Storage) Fetch Uses

func (s *Storage) Fetch(br blob.Ref) (rc io.ReadCloser, size uint32, err error)

func (*Storage) MaxEnumerate Uses

func (s *Storage) MaxEnumerate() int

func (*Storage) ReceiveBlob Uses

func (s *Storage) ReceiveBlob(br blob.Ref, source io.Reader) (blob.SizedRef, error)

func (*Storage) RemoveBlobs Uses

func (s *Storage) RemoveBlobs(blobs []blob.Ref) error

func (*Storage) ResetStorageGeneration Uses

func (s *Storage) ResetStorageGeneration() error

func (*Storage) StatBlobs Uses

func (s *Storage) StatBlobs(dest chan<- blob.SizedRef, blobs []blob.Ref) error

func (*Storage) StorageGeneration Uses

func (s *Storage) StorageGeneration() (time.Time, string, error)

func (*Storage) SubFetch Uses

func (s *Storage) SubFetch(br blob.Ref, offset, length int64) (rc io.ReadCloser, err error)

Package cloudstorage imports 27 packages (graph) and is imported by 7 packages. Updated 2018-01-27. Refresh now. Tools for package owners.