code: func listPodsFromDir(cdir string) ([]string, error) {
  	var ps []string
  
  	ls, err := ioutil.ReadDir(cdir)
  	if err != nil {
  		if os.IsNotExist(err) {
  			return ps, nil
  		}
  		return nil, errwrap.Wrap(errors.New("cannot read pods directory"), err)
  	}
  
  	for _, p := range ls {
  		if !p.IsDir() {
  			fmt.Fprintf(os.Stderr, "unrecognized entry: %q, ignoring", p.Name())
  			continue
  		}
  		ps = append(ps, p.Name())
  	}
  
  	return ps, nil
  }
docs: // listPodsFromDir returns a list of pod uuids in string form from a specific directory.