code: func PrintStatus(out io.Writer, res *services.GetReleaseStatusResponse) {
  	if res.Info.LastDeployed != nil {
  		fmt.Fprintf(out, "LAST DEPLOYED: %s\n", timeconv.String(res.Info.LastDeployed))
  	}
  	fmt.Fprintf(out, "NAMESPACE: %s\n", res.Namespace)
  	fmt.Fprintf(out, "STATUS: %s\n", res.Info.Status.Code)
  	fmt.Fprintf(out, "\n")
  	if len(res.Info.Status.Resources) > 0 {
  		re := regexp.MustCompile("  +")
  
  		w := tabwriter.NewWriter(out, 0, 0, 2, ' ', tabwriter.TabIndent)
  		fmt.Fprintf(w, "RESOURCES:\n%s\n", re.ReplaceAllString(res.Info.Status.Resources, "\t"))
  		w.Flush()
  	}
  	if res.Info.Status.LastTestSuiteRun != nil {
  		lastRun := res.Info.Status.LastTestSuiteRun
  		fmt.Fprintf(out, "TEST SUITE:\n%s\n%s\n\n%s\n",
  			fmt.Sprintf("Last Started: %s", timeconv.String(lastRun.StartedAt)),
  			fmt.Sprintf("Last Completed: %s", timeconv.String(lastRun.CompletedAt)),
  			formatTestResults(lastRun.Results))
  	}
  
  	if len(res.Info.Status.Notes) > 0 {
  		fmt.Fprintf(out, "NOTES:\n%s\n", res.Info.Status.Notes)
  	}
  }
docs: // PrintStatus prints out the status of a release. Shared because also used by
  // install / upgrade