MCPcopy Create free account
hub / github.com/baidu/EasyFaaS / FetchCode

Method FetchCode

pkg/funclet/code/manager.go:36–36  ·  view source on GitHub ↗
(ctx *context.Context, code *api.CodeStorage)

Source from the content-addressed store, hash-verified

34// ManagerInterface
35type ManagerInterface interface {
36 FetchCode(ctx *context.Context, code *api.CodeStorage) (string, error)
37 CheckCode(ctx *context.Context, filename, codeSha256 string) bool
38 FindCodeCompeleteTag(path, codeSha256 string) bool
39 CreateCodeCompeleteTag(path, codeSha256 string) error

Callers 1

prepareUserCodeMethod · 0.65

Implementers 1

Managerpkg/funclet/code/manager.go

Calls

no outgoing calls

Tested by

no test coverage detected