MCPcopy
hub / github.com/flyteorg/flyte / Metadata

Interface Metadata

flytestdlib/storage/storage.go:34–42  ·  view source on GitHub ↗

Metadata is a placeholder for data reference metadata.

Source from the content-addressed store, hash-verified

32
33// Metadata is a placeholder for data reference metadata.
34type Metadata interface {
35 Exists() bool
36 Size() int64
37 Etag() string
38 // ContentMD5 retrieves the value of a special metadata tag added by the system that
39 // contains the MD5 of the uploaded file. If there is no metadata attached
40 // or that `FlyteContentMD5` key isn't set, ContentMD5 will return empty.
41 ContentMD5() string
42}
43
44type CursorState int
45

Callers 17

TestUploadFileFunction · 0.65
DownloadFileFromStorageFunction · 0.65
TestUploadOptions_UploadFunction · 0.65
TestCachedRawStoreFunction · 0.65
TestRedisStore_HeadFunction · 0.65
TestRedisStore_DeleteFunction · 0.65
handleSimpleTypeMethod · 0.65
handleBlobTypeMethod · 0.65
RecursiveUploadMethod · 0.65
benchmarkKBFunction · 0.65

Implementers 7

MemoryMetadataflyteplugins/go/tasks/pluginmachinery/
StowMetadataflytestdlib/storage/stow_store.go
MemoryMetadataflytestdlib/storage/mem_store.go
Metadataflytestdlib/storage/mocks/mocks.go
Metadata_Expecterflytestdlib/storage/mocks/mocks.go
Metadataflytestdlib/flytestdlib/storage/mocks/
Metadata_Expecterflytestdlib/flytestdlib/storage/mocks/

Calls

no outgoing calls

Tested by

no test coverage detected