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 (ls *GoogleCloudStorageBackend) Init(settings config.StorageSettings) error
func (*GoogleCloudStorageBackend) Upload ¶
func (ls *GoogleCloudStorageBackend) Upload(namespace string, releaseId *parsers.ReleaseId, pkg io.ReadSeeker) (string, error)
Click to show internal directories.
Click to hide internal directories.