MCPcopy
hub / github.com/cortexlabs/cortex / Download

Method Download

pkg/async-gateway/storage.go:34–34  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

32type Storage interface {
33 Upload(key string, payload io.Reader, contentType string) error
34 Download(key string) ([]byte, error)
35 List(key string) ([]string, error)
36 GetLastModified(key string) (time.Time, error)
37}

Callers 3

DownloadFileFromS3Method · 0.65
DownloadMethod · 0.65
GetWorkloadMethod · 0.65

Implementers 1

s3pkg/async-gateway/storage.go

Calls

no outgoing calls

Tested by

no test coverage detected