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

hashicorp-go-getter-s3-v2

JSON →
library2.2.3gogounverified

go-getter S3 v2 provides an S3 storage backend for downloading files and directories using the go-getter library.

go get github.com/hashicorp/go-getter/s3/v2
INSTALL
IMPORT
SIG · HASHICORP-GO-GETTE
H
hashicorp-go-getter-s3-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.

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

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

package main import ( "context" "fmt" "github.com/hashicorp/go-getter/v2" _ "github.com/hashicorp/go-getter/s3/v2" ) func main() { client := &getter.Client{} _, err := client.Get(context.Background(), &getter.Request{ Src: "s3::https://s3.amazonaws.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
6 hits · last 30 days
node
6
Resources
hashicorp-go-getter-s3-v2 — go get hashicorp-go-getter-s3-v2 · libregistry