s3store

package
v0.0.0-...-86bf689 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2018 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S3BlobStore

type S3BlobStore struct {
	Client   *s3.S3
	Location locationpb.S3Ref
}

func NewS3BlobStore

func NewS3BlobStore(loc *locationpb.Location) (*S3BlobStore, error)

func (*S3BlobStore) DeleteBlob

func (s *S3BlobStore) DeleteBlob(name string) (*messagestore.CacheMeta, error)

func (*S3BlobStore) DocKey

func (s *S3BlobStore) DocKey(name string) string

func (*S3BlobStore) GetBlob

func (s *S3BlobStore) GetBlob(name string) ([]byte, *messagestore.CacheMeta, error)

func (*S3BlobStore) PutBlob

func (s *S3BlobStore) PutBlob(name string, content []byte) (*messagestore.CacheMeta, error)

Jump to

Keyboard shortcuts

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