code: func (ch *CredHub) GetAllVersions(name string) ([]credentials.Credential, error) {
  	query := url.Values{}
  	query.Set("name", name)
  
  	return ch.makeMultiCredentialGetRequest(query)
  }
docs: // GetAllVersions returns all credential versions for a given credential name. The returned credentials will be encoded as a list of maps and may be of any type.