(items []BundleJobRecord)
| 562 | } |
| 563 | |
| 564 | func bundleJobsTable(items []BundleJobRecord) string { |
| 565 | rows := make([][]string, 0, len(items)) |
| 566 | for _, item := range items { |
| 567 | rows = append(rows, []string{ |
| 568 | stringOrDash(item.Name), |
| 569 | stringOrDash(item.AgentName), |
| 570 | formatBool(item.Enabled), |
| 571 | }) |
| 572 | } |
| 573 | return renderHumanTable( |
| 574 | "Jobs", |
| 575 | []string{bundleNameValue, bundleAgentValue, extensionEnabledValue}, |
| 576 | rows, |
| 577 | ) |
| 578 | } |
| 579 | |
| 580 | func bundleTriggersTable(items []BundleTriggerRecord) string { |
| 581 | rows := make([][]string, 0, len(items)) |
no test coverage detected