(deployments []*adminv1.Deployment)
| 716 | } |
| 717 | |
| 718 | func (p *Printer) PrintDeployments(deployments []*adminv1.Deployment) { |
| 719 | if len(deployments) == 0 { |
| 720 | p.PrintfWarn("No deployments found\n") |
| 721 | return |
| 722 | } |
| 723 | |
| 724 | p.PrintData(toDeploymentsTable(deployments)) |
| 725 | } |
| 726 | |
| 727 | func (p *Printer) PrintDeployment(d *adminv1.Deployment) { |
| 728 | status := formatDeploymentStatus(d.Status) |
no test coverage detected