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 ¶
- type Storage
- func (s *Storage) EnumerateBlobs(ctx context.Context, dest chan<- blob.SizedRef, after string, limit int) error
- func (s *Storage) Fetch(br blob.Ref) (rc io.ReadCloser, size uint32, err error)
- func (s *Storage) MaxEnumerate() int
- func (s *Storage) ReceiveBlob(br blob.Ref, source io.Reader) (blob.SizedRef, error)
- func (s *Storage) RemoveBlobs(blobs []blob.Ref) error
- func (s *Storage) ResetStorageGeneration() error
- func (s *Storage) StatBlobs(dest chan<- blob.SizedRef, blobs []blob.Ref) error
- func (s *Storage) StorageGeneration() (time.Time, string, error)
- func (s *Storage) SubFetch(br blob.Ref, offset, length int64) (rc io.ReadCloser, err error)
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 (*Storage) MaxEnumerate ¶
func (*Storage) ReceiveBlob ¶
func (*Storage) ResetStorageGeneration ¶
func (*Storage) StorageGeneration ¶
Click to show internal directories.
Click to hide internal directories.