(partitions []*runtimev1.ModelPartition)
| 633 | } |
| 634 | |
| 635 | func (p *Printer) PrintModelPartitions(partitions []*runtimev1.ModelPartition) { |
| 636 | if len(partitions) == 0 { |
| 637 | p.PrintfWarn("No partitions found\n") |
| 638 | return |
| 639 | } |
| 640 | |
| 641 | p.PrintData(toModelPartitionsTable(partitions)) |
| 642 | } |
| 643 | |
| 644 | func toModelPartitionsTable(partitions []*runtimev1.ModelPartition) []*modelPartition { |
| 645 | res := make([]*modelPartition, 0, len(partitions)) |
no test coverage detected