| 15 | var cacheKeyRegex = regexp.MustCompile("^[a-zA-Z0-9][-a-zA-Z0-9]*$") |
| 16 | |
| 17 | type 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 | |
| 22 | type Entry struct { |
| 23 | NodeID string `json:"nodeID"` |
no outgoing calls
no test coverage detected