MCPcopy Create free account
hub / github.com/conforma/cli / Upload

Method Upload

internal/validate/vsa/storage.go:32–32  ·  view source on GitHub ↗
(ctx context.Context, envelopeContent []byte)

Source from the content-addressed store, hash-verified

30type StorageBackend interface {
31 Name() string
32 Upload(ctx context.Context, envelopeContent []byte) error
33}
34
35// SignerAwareUploader extends StorageBackend for backends that need access to the signer

Callers 1

UploadVSAEnvelopeFunction · 0.65

Implementers 2

RekorBackendinternal/validate/vsa/storage_rekor.go
LocalBackendinternal/validate/vsa/storage_local.go

Calls

no outgoing calls

Tested by

no test coverage detected