gcs

package
v0.0.0-...-ffb091d Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoogleCloudStorageBackend

type GoogleCloudStorageBackend struct {
	BucketString string
	Bucket       *storage.BucketHandle
	Client       *storage.Client
	Context      context.Context
}

func NewGoogleCloudStorageBackend

func NewGoogleCloudStorageBackend() *GoogleCloudStorageBackend

func (*GoogleCloudStorageBackend) Download

func (ls *GoogleCloudStorageBackend) Download(namespace, uri string) (io.Reader, error)

func (*GoogleCloudStorageBackend) Init

func (*GoogleCloudStorageBackend) Upload

func (ls *GoogleCloudStorageBackend) Upload(namespace string, releaseId *parsers.ReleaseId, pkg io.ReadSeeker) (string, error)

Jump to

Keyboard shortcuts

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