From 8b45443b219d4c6f708c8f830c77bb9d9539dcd6 Mon Sep 17 00:00:00 2001 From: David Gillies Date: Thu, 18 Apr 2019 10:47:13 -0700 Subject: [PATCH] Add GCS source support for modules --- configs/configload/getter.go | 2 ++ internal/initwd/getter.go | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configs/configload/getter.go b/configs/configload/getter.go index 4a3daceee..75c7ef1f4 100644 --- a/configs/configload/getter.go +++ b/configs/configload/getter.go @@ -20,6 +20,7 @@ import ( var goGetterDetectors = []getter.Detector{ new(getter.GitHubDetector), new(getter.BitBucketDetector), + new(getter.GCSDetector), new(getter.S3Detector), new(getter.FileDetector), } @@ -44,6 +45,7 @@ var goGetterDecompressors = map[string]getter.Decompressor{ var goGetterGetters = map[string]getter.Getter{ "file": new(getter.FileGetter), + "gcs": new(getter.GCSGetter), "git": new(getter.GitGetter), "hg": new(getter.HgGetter), "s3": new(getter.S3Getter), diff --git a/internal/initwd/getter.go b/internal/initwd/getter.go index 50e2572af..2f306be73 100644 --- a/internal/initwd/getter.go +++ b/internal/initwd/getter.go @@ -22,6 +22,7 @@ import ( var goGetterDetectors = []getter.Detector{ new(getter.GitHubDetector), new(getter.BitBucketDetector), + new(getter.GCSDetector), new(getter.S3Detector), new(getter.FileDetector), } @@ -46,6 +47,7 @@ var goGetterDecompressors = map[string]getter.Decompressor{ var goGetterGetters = map[string]getter.Getter{ "file": new(getter.FileGetter), + "gcs": new(getter.GCSGetter), "git": new(getter.GitGetter), "hg": new(getter.HgGetter), "s3": new(getter.S3Getter),