MCPcopy
hub / github.com/hashicorp/go-getter / Getter

Struct Getter

gcs/get_gcs.go:19–24  ·  view source on GitHub ↗

Getter is a Getter implementation that will download a module from a GCS bucket.

Source from the content-addressed store, hash-verified

17// Getter is a Getter implementation that will download a module from
18// a GCS bucket.
19type Getter struct {
20
21 // Timeout sets a deadline which all GCS operations should
22 // complete within. Zero value means no timeout.
23 Timeout time.Duration
24}
25
26func (g *Getter) Mode(ctx context.Context, u *url.URL) (getter.Mode, error) {
27

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected