gcs

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GCSClientWrapper

type GCSClientWrapper struct {
	*storage.Client
}

func NewClient

func NewClient() *GCSClientWrapper

func (*GCSClientWrapper) DownloadFile

func (c *GCSClientWrapper) DownloadFile(bucket, object string) (*storage.Reader, error)

downloadFile downloads an object to a file.

func (*GCSClientWrapper) ListFiles added in v0.6.0

func (c *GCSClientWrapper) ListFiles(bucket string) (*[]storage.ObjectAttrs, error)

Jump to

Keyboard shortcuts

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