cloudstorage

package
v0.0.0-...-acef7dd Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2014 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

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

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

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

func (*Storage) EnumerateBlobs

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

func (*Storage) FetchStreaming

func (gs *Storage) FetchStreaming(blob blob.Ref) (file io.ReadCloser, size uint32, err error)

func (*Storage) MaxEnumerate

func (gs *Storage) MaxEnumerate() int

func (*Storage) ReceiveBlob

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

func (*Storage) RemoveBlobs

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

func (*Storage) StatBlobs

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

Jump to

Keyboard shortcuts

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