Registry / utility / hashicorp-go-getter-gcs-v2

hashicorp-go-getter-gcs-v2

JSON →
library2.2.3gogounverified

go-getter GCS v2 provides a Google Cloud Storage backend for downloading files and directories using the go-getter library.

go get github.com/hashicorp/go-getter/gcs/v2
INSTALL
IMPORT
SIG · HASHICORP-GO-GETTE
H
hashicorp-go-getter-gcs-v2
utilitygov2.2.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gcs
github.com/hashicorp/go-getter/gcs/v2

Downloads a file from GCS using go-getter with the GCS v2 backend.

package main import ( "context" "fmt" "github.com/hashicorp/go-getter/v2" _ "github.com/hashicorp/go-getter/gcs/v2" ) func main() { client := &getter.Client{} _, err := client.Get(context.Background(), &getter.Request{ Src: "gcs::https://storage.googleapis.com/bucket/key", Dst: "/tmp/output", }) if err != nil { fmt.Println(err) } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.2.3latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources