gcs

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2021 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package gcs provides an opener for Google Cloud Storage (GCS) resources declared in the format gcs://<bucket-name>/<object-key>. It also supports the "gs" scheme.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(client *storage.Client, o *porteiro.Opener) (*porteiro.Opener, error)

Open returns an opener that is able of loading files from Google Cloud Storage (GCS) via the "gcs"/"gs" schemes.

The gcs client might be set to nil, in which case a new client will be created using Google's application default credentials (see https://developers.google.com/identity/protocols/application-default-credentials for more details).

Types

This section is empty.

Jump to

Keyboard shortcuts

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