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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlobStore

type BlobStore interface {
	List() ([]blob.Blob, error)
	Delete(path string) error
	Upload(path string, contents io.ReadSeeker) error
	Download(path string) (io.ReadCloser, error)

	DropletStore
}

func New

func New(config *config_package.Config) BlobStore

type BlobStoreVerifier

type BlobStoreVerifier struct {
	DAVBlobStoreVerifier Verifier
	S3BlobStoreVerifier  Verifier
}

func (BlobStoreVerifier) Verify

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

type DropletStore

type DropletStore interface {
	DownloadAppBitsAction(dropletName string) *models.Action
	DeleteAppBitsAction(dropletName string) *models.Action
	UploadDropletAction(dropletName string) *models.Action
	DownloadDropletAction(dropletName string) *models.Action
}

type Verifier

type Verifier interface {
	Verify(config *config_package.Config) (authorized bool, err error)
}

Directories

Path Synopsis
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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