()
| 210 | } |
| 211 | |
| 212 | func (r *ServiceResource) Copy() *ServiceResource { |
| 213 | rp := ServiceResource{ |
| 214 | Capacity: r.Capacity.Copy(), |
| 215 | Allocatable: r.Allocatable.Copy(), |
| 216 | Used: r.Used.Copy(), |
| 217 | Marked: r.Marked.Copy(), |
| 218 | Default: r.Default.Copy(), |
| 219 | BaseMemory: r.BaseMemory, |
| 220 | } |
| 221 | return &rp |
| 222 | } |
| 223 | |
| 224 | type ScaleUpRecommendation struct { |
| 225 | TargetMemory string |
nothing calls this directly
no outgoing calls
no test coverage detected