MCPcopy
hub / github.com/harness/harness / Get

Method Get

registry/app/storage/blobs.go:144–144  ·  view source on GitHub ↗

Get returns the entire blob identified by digest along with the descriptor.

(ctx context.Context, pathPrefix string, dgst digest.Digest)

Source from the content-addressed store, hash-verified

142
143 // Get returns the entire blob identified by digest along with the descriptor.
144 Get(ctx context.Context, pathPrefix string, dgst digest.Digest) ([]byte, error)
145
146 // Open provides an [io.ReadSeekCloser] to the blob identified by the provided
147 // descriptor. If the blob is not known to the service, an error is returned.

Callers 15

buildForUpstreamMethod · 0.65
getParentInfoRegistryMethod · 0.65
RemoteAddrFunction · 0.65
ValueMethod · 0.65
ValueMethod · 0.65
putBlobToLocalMethod · 0.65
catalogMethod · 0.65
listTagsMethod · 0.65

Implementers 1

ociBlobStoreregistry/app/storage/ociblobstore.go

Calls

no outgoing calls

Tested by 11

GetArtifactTypeMethod · 0.52
GetPackageTypesMethod · 0.52
DownloadPackageFileMethod · 0.52
GetPackageMetadataMethod · 0.52
UploadPackageFileMethod · 0.52
DownloadMethod · 0.52
UploadMethod · 0.52
MoveMethod · 0.52
UploadFileMethod · 0.52
TestCreateRegistryFunction · 0.52