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

Method GetDefaultResourceConfig

pkg/funclet/runtime/resource.go:157–159  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

155}
156
157func (rc *ResourceControl) GetDefaultResourceConfig() *runtimeapi.ResourceConfig {
158 return rc.defaultResourceConfig
159}
160
161func (rc *ResourceControl) GetResourceConfigByReadableMemory(memoryStr string) (config *runtimeapi.ResourceConfig, err error) {
162 targetMem, err := bytefmt.ToBytes(memoryStr)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected