code: func (e *engineImpl) GetAllProjects(c context.Context) ([]string, error) {
  	q := ds.NewQuery("Job").
  		Eq("Enabled", true).
  		Project("ProjectID").
  		Distinct(true)
  	entities := []Job{}
  	if err := ds.GetAll(c, q, &entities); err != nil {
  		return nil, transient.Tag.Apply(err)
  	}
  	// Filter out duplicates, sort.
  	projects := stringset.New(len(entities))
  	for _, ent := range entities {
  		projects.Add(ent.ProjectID)
  	}
  	out := projects.ToSlice()
  	sort.Strings(out)
  	return out, nil
  }
docs: // GetAllProjects returns projects that have at least one enabled job.
  //
  // Part of the internal interface, doesn't check ACLs.