s3_blob_store

package
v0.0.0-...-098adc7 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2015 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlobStore

type BlobStore struct {
	Bucket string
	S3     *s3.S3
	// contains filtered or unexported fields
}

func New

func (*BlobStore) Delete

func (b *BlobStore) Delete(path string) error

func (*BlobStore) DeleteAppBitsAction

func (b *BlobStore) DeleteAppBitsAction(dropletName string) *models.Action

func (*BlobStore) Download

func (b *BlobStore) Download(path string) (io.ReadCloser, error)

func (*BlobStore) DownloadAppBitsAction

func (b *BlobStore) DownloadAppBitsAction(dropletName string) *models.Action

func (*BlobStore) DownloadDropletAction

func (b *BlobStore) DownloadDropletAction(dropletName string) *models.Action

func (*BlobStore) List

func (b *BlobStore) List() ([]blob.Blob, error)

func (*BlobStore) Upload

func (b *BlobStore) Upload(path string, contents io.ReadSeeker) error

func (*BlobStore) UploadDropletAction

func (b *BlobStore) UploadDropletAction(dropletName string) *models.Action

type Verifier

type Verifier struct {
	Endpoint string
}

func (Verifier) Verify

func (v Verifier) Verify(config *config_package.Config) (authorized bool, err error)

Jump to

Keyboard shortcuts

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