MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / Download

Method Download

pkg/casclient/casclient.go:45–45  ·  view source on GitHub ↗
(ctx context.Context, w io.Writer, digest string)

Source from the content-addressed store, hash-verified

43
44type Downloader interface {
45 Download(ctx context.Context, w io.Writer, digest string) error
46 // Whether the CAS is ready to accept downloads
47 IsReady(ctx context.Context) (bool, error)
48}

Callers 3

TestDownloadMethod · 0.65
TestDownloadMethod · 0.65

Implementers 4

Clientpkg/casclient/casclient.go
DownloaderUploaderpkg/casclient/mocks/DownloaderUploader
Downloaderpkg/casclient/mocks/Downloader.go
CASClientUseCaseapp/controlplane/pkg/biz/casclient.go

Calls

no outgoing calls

Tested by 3

TestDownloadMethod · 0.52
TestDownloadMethod · 0.52