MCPcopy Index your code
hub / github.com/cortexlabs/cortex / Upload

Method Upload

pkg/async-gateway/storage.go:33–33  ·  view source on GitHub ↗
(key string, payload io.Reader, contentType string)

Source from the content-addressed store, hash-verified

31// Storage is an interface that abstracts cloud storage uploading
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)

Callers 3

UploadReaderToS3Method · 0.65
UploadMethod · 0.65
CreateWorkloadMethod · 0.65

Implementers 1

s3pkg/async-gateway/storage.go

Calls

no outgoing calls

Tested by

no test coverage detected