(target RequestSpec)
| 45 | } |
| 46 | |
| 47 | func (spec RequestSpec) Equal(target RequestSpec) bool { |
| 48 | return spec.CpuReq == target.CpuReq && spec.CpuLimit == target.CpuLimit && spec.MemoryLimit == target.MemoryLimit && spec.MemoryReq == target.MemoryReq |
| 49 | } |
| 50 | |
| 51 | func (spec RequestSpec) FindResourceRequestType() Request { |
| 52 | if spec.GpuLimit != "" { |
no outgoing calls