code: func (be *Backend) GetAll(c context.Context, t backend.GetAllTarget, path string, p backend.Params) (
  	[]*config.Config, error) {
  
  	svc := be.GetConfigInterface(c, p.Authority)
  
  	var fn func(context.Context, string, bool) ([]config.Config, error)
  	switch t {
  	case backend.GetAllProject:
  		fn = svc.GetProjectConfigs
  	case backend.GetAllRef:
  		fn = svc.GetRefConfigs
  	default:
  		return nil, errors.Reason("unknown GetAllType: %q", t).Err()
  	}
  
  	cfgs, err := fn(c, path, !p.Content)
  	if err != nil || len(cfgs) == 0 {
  		return nil, translateConfigErr(err)
  	}
  
  	items := make([]*config.Config, len(cfgs))
  	for i := range cfgs {
  		items[i] = makeItem(&cfgs[i])
  	}
  	return items, nil
  }
docs: // GetAll implements backend.B.