()
| 82 | } |
| 83 | |
| 84 | func (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 | |
| 91 | func (r *Resource) Copy() *Resource { |
| 92 | if r == nil { |
nothing calls this directly
no outgoing calls
no test coverage detected