Skip to content
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.

Add a common "file" module with support for reading files from GCS. #344

Merged
merged 1 commit into from
Jan 8, 2020

Conversation

manugarg
Copy link
Contributor

@manugarg manugarg commented Jan 8, 2020

File module provides an interface "ReadFile" that either reads the file from the disk using ioutil, or, if its path starts with "gs://", retrieves it from the GCS over HTTP.

Use this new interface to read various files like OAuth token, JSON key, TLS cert, and even the config file.

PiperOrigin-RevId: 288072059

File module provides an interface "ReadFile" that either reads the file from the disk using ioutil, or, if its path starts with "gs://", retrieves it from the GCS over HTTP.

Use this new interface to read various files like OAuth token, JSON key, TLS cert, and even the config file.

PiperOrigin-RevId: 288072059
@manugarg manugarg merged commit 835069a into master Jan 8, 2020
@manugarg manugarg deleted the 63729A23134379909BFCA3AC3C378B48 branch January 8, 2020 15:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant