service

package
v0.0.0-...-c63b79d Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StorageService

type StorageService struct {
	// contains filtered or unexported fields
}

func NewStorageService

func NewStorageService(providerType string) *StorageService

func (StorageService) CreateBucket

func (fs StorageService) CreateBucket(name string) (*data.Bucket, error)

func (StorageService) DestroyBucket

func (fs StorageService) DestroyBucket(name string) error

func (StorageService) GetBucket

func (fs StorageService) GetBucket(name string) (*data.Bucket, error)

func (StorageService) GetBuckets

func (fs StorageService) GetBuckets() ([]*data.Bucket, error)

func (StorageService) GetFile

func (fs StorageService) GetFile(containerName, name string) (*data.File, error)

func (StorageService) GetFiles

func (fs StorageService) GetFiles(containerName string) ([]*data.File, error)

func (StorageService) RemoveFile

func (fs StorageService) RemoveFile(containerName, name string) error

func (StorageService) UploadFile

func (fs StorageService) UploadFile(bucketName string, request *http.Request) ([]*data.File, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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