bucket

package
v3.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2018 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 BucketServiceInterface

type BucketServiceInterface interface {
	DownLoadFile(filename string, serviceAccountEmailAddress string) (io.Reader, error)
	SetBucketACL(serviceAccountEmailAddress string, role string) error
	RemoveBucketACL(serviceAccount string) error
	DeleteFile(filename string) error
	UploadFile(targetFilename string, originalFilename string, serviceAccountEmailAddress string) error
}

func NewBucketService

func NewBucketService(bucket string, client *http.Client, storageService *storage.Service, storageClient *StorageClient.Client) BucketServiceInterface

Jump to

Keyboard shortcuts

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