code: func (c *client) GetManifestList(ctx context.Context, ref reference.Named) ([]manifesttypes.ImageManifest, error) {
  	result := []manifesttypes.ImageManifest{}
  	fetch := func(ctx context.Context, repo distribution.Repository, ref reference.Named) (bool, error) {
  		var err error
  		result, err = fetchList(ctx, repo, ref)
  		return len(result) > 0, err
  	}
  
  	err := c.iterateEndpoints(ctx, ref, fetch)
  	return result, err
  }
docs: // GetManifestList returns a list of ImageManifest for the reference