Documentation
¶
Index ¶
- type S3BlobStore
- func (s *S3BlobStore) DeleteBlob(name string) (*messagestore.CacheMeta, error)
- func (s *S3BlobStore) DocKey(name string) string
- func (s *S3BlobStore) GetBlob(name string) ([]byte, *messagestore.CacheMeta, error)
- func (s *S3BlobStore) PutBlob(name string, content []byte) (*messagestore.CacheMeta, error)
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)
Click to show internal directories.
Click to hide internal directories.