code: func (s *Store) ResolveName(name string) ([]string, bool, error) {
  	var (
  		aciInfos []*ACIInfo
  		found    bool
  	)
  	err := s.db.Do(func(tx *sql.Tx) error {
  		var err error
  		aciInfos, found, err = GetACIInfosWithName(tx, name)
  		return err
  	})
  	if err != nil {
  		return nil, found, errwrap.Wrap(errors.New("error retrieving ACI Infos"), err)
  	}
  
  	keys := make([]string, len(aciInfos))
  	for i, aciInfo := range aciInfos {
  		keys[i] = aciInfo.BlobKey
  	}
  
  	return keys, found, nil
  }
docs: // ResolveName resolves an image name to a list of full keys and using the
  // store for resolution.