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

Function NewResource

pkg/api/funclet.go:77–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75}
76
77func NewResource() *Resource {
78 return &Resource{
79 MilliCPUs: 0,
80 Memory: 0,
81 }
82}
83
84func (r *Resource) String() string {
85 if r == nil {

Callers 2

NewRuntimeManagerFunction · 0.92
NewFuncletResourceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected