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

Method String

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

Source from the content-addressed store, hash-verified

82}
83
84func (r *Resource) String() string {
85 if r == nil {
86 return ""
87 }
88 return fmt.Sprintf("mem %d bytes, cpu %d vCore", r.Memory, r.MilliCPUs)
89}
90
91func (r *Resource) Copy() *Resource {
92 if r == nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected