gcs

package
v0.0.0-...-f6a9b3f Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(serviceAccountPath string) (*storage.Client, error)

NewClient creates a new gcs client. Use Application Default Credentials if serviceAccount is empty. Ignores ADC or serviceAccount when GOOGLE_OAUTH_ACCESS_TOKEN env variable is exported.

func Object

func Object(client *storage.Client, path string) (*storage.ObjectHandle, error)

Object retourne a new object handle for the given path

Types

This section is empty.

Jump to

Keyboard shortcuts

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