Skip to content

Commit

Permalink
Add GCS source support for modules
Browse files Browse the repository at this point in the history
  • Loading branch information
davewongillies authored and David Gillies committed May 21, 2019
1 parent 778cae9 commit 8b45443
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions configs/configload/getter.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (
var goGetterDetectors = []getter.Detector{
new(getter.GitHubDetector),
new(getter.BitBucketDetector),
new(getter.GCSDetector),
new(getter.S3Detector),
new(getter.FileDetector),
}
Expand All @@ -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),
Expand Down
2 changes: 2 additions & 0 deletions internal/initwd/getter.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import (
var goGetterDetectors = []getter.Detector{
new(getter.GitHubDetector),
new(getter.BitBucketDetector),
new(getter.GCSDetector),
new(getter.S3Detector),
new(getter.FileDetector),
}
Expand All @@ -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),
Expand Down

0 comments on commit 8b45443

Please sign in to comment.