(client *http.Client, repo ghrepo.Interface, app shared.App)
| 308 | } |
| 309 | |
| 310 | func getRepoSecrets(client *http.Client, repo ghrepo.Interface, app shared.App) ([]Secret, error) { |
| 311 | u, err := safeurl.JoinPath("repos", repo.RepoOwner(), repo.RepoName(), string(app), "secrets") |
| 312 | if err != nil { |
| 313 | return nil, err |
| 314 | } |
| 315 | return getSecrets(client, repo.RepoHost(), u) |
| 316 | } |
| 317 | |
| 318 | func getSecrets(client *http.Client, host string, u *safeurl.MutableSafeURL) ([]Secret, error) { |
| 319 | var results []Secret |