Getter is a Getter implementation that will download a module from a GCS bucket.
| 17 | // Getter is a Getter implementation that will download a module from |
| 18 | // a GCS bucket. |
| 19 | type 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 | |
| 26 | func (g *Getter) Mode(ctx context.Context, u *url.URL) (getter.Mode, error) { |
| 27 |
nothing calls this directly
no outgoing calls
no test coverage detected