(client *api.Client, hostname, orgName, teamSlug string)
| 278 | } |
| 279 | |
| 280 | func resolveOrganizationTeam(client *api.Client, hostname, orgName, teamSlug string) (*teamResponse, error) { |
| 281 | var response teamResponse |
| 282 | u, err := safeurl.JoinPath("orgs", orgName, "teams", teamSlug) |
| 283 | if err != nil { |
| 284 | return nil, err |
| 285 | } |
| 286 | err = client.REST(hostname, "GET", u.String(), nil, &response) |
| 287 | return &response, err |
| 288 | } |
| 289 | |
| 290 | func listTemplateRepositories(client *http.Client, hostname, owner string) ([]api.Repository, error) { |
| 291 | ownerConnection := "repositoryOwner(login: $owner)" |
no test coverage detected