MCPcopy
hub / github.com/argoproj/argo-workflows / MemoizationCache

Interface MemoizationCache

workflow/controller/cache/cache.go:17–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15var cacheKeyRegex = regexp.MustCompile("^[a-zA-Z0-9][-a-zA-Z0-9]*$")
16
17type MemoizationCache interface {
18 Load(ctx context.Context, key string) (*Entry, error)
19 Save(ctx context.Context, key string, nodeID string, value *wfv1.Outputs) error
20}
21
22type Entry struct {
23 NodeID string `json:"nodeID"`

Callers 8

executeTemplateMethod · 0.65
reconcileTaskSetMethod · 0.65
executeDAGMethod · 0.65
podReconciliationMethod · 0.65
executeStepsMethod · 0.65
TestConfigMapCacheSaveFunction · 0.65

Implementers 15

artifactServiceClientpkg/apiclient/artifact/artifact.pb.go
UnimplementedArtifactServiceServerpkg/apiclient/artifact/artifact.pb.go
fakeArtifactDriverserver/artifacts/artifact_server_test.
configMapCacheworkflow/controller/cache/configmap_ca
Driverworkflow/artifacts/plugin/plugin.go
ArtifactDriverworkflow/artifacts/hdfs/hdfs.go
ArtifactDriverworkflow/artifacts/http/http.go
ArtifactDriverworkflow/artifacts/azure/azure.go
ArtifactDriverworkflow/artifacts/git/git.go
driverworkflow/artifacts/logging/driver.go
ArtifactDriverworkflow/artifacts/gcs/gcs.go
ArtifactDriverworkflow/artifacts/raw/raw.go

Calls

no outgoing calls

Tested by

no test coverage detected