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

Method Read

pkg/attestation/crafter/crafter.go:54–54  ·  view source on GitHub ↗

Read the state from the manager backend

(ctx context.Context, key string, state *VersionedCraftingState)

Source from the content-addressed store, hash-verified

52 Write(ctx context.Context, key string, state *VersionedCraftingState) error
53 // Read the state from the manager backend
54 Read(ctx context.Context, key string, state *VersionedCraftingState) error
55 // Reset/Delete the state
56 Reset(ctx context.Context, key string) error
57 // String returns a string representation of the state manager

Callers 7

UploadMethod · 0.65
DownloadMethod · 0.65
LoadCraftingStateMethod · 0.65
CraftMethod · 0.65
ReadMethod · 0.65
TestWriteMethod · 0.65
TestReadMethod · 0.65

Implementers 4

StateManagerpkg/attestation/crafter/mocks/StateMan
StateManager_Expecterpkg/attestation/crafter/mocks/StateMan
Remotepkg/attestation/crafter/statemanager/r
Filesystempkg/attestation/crafter/statemanager/f

Calls

no outgoing calls

Tested by 2

TestWriteMethod · 0.52
TestReadMethod · 0.52