gcs

package
v1.13.3 Latest Latest
Warning

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

Go to latest
Published: May 8, 2020 License: MIT Imports: 7 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Auth

func Auth() bool

Auth checks for GCLOUD_CREDENTIALS in the environment returns true if they exist and creates a json credentials file and sets the GOOGLE_APPLICATION_CREDENTIALS env var returns false if credentials are not found

func ReadFile

func ReadFile(bucketName string, filename string, outFile string, noColors bool)

ReadFile reads a file from storage bucket and saves it in a desired location.

Types

This section is empty.

Jump to

Keyboard shortcuts

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