()
| 88 | } |
| 89 | |
| 90 | func getSSHKeys() ([]*gitlab.SSHKey, error) { |
| 91 | git, err := newGitlabClient() |
| 92 | if err != nil { |
| 93 | return nil, err |
| 94 | } |
| 95 | keys, _, err := git.Users.ListSSHKeys(nil) |
| 96 | if err != nil { |
| 97 | return nil, err |
| 98 | } |
| 99 | return keys, nil |
| 100 | } |
| 101 | |
| 102 | func getSSHKeysForUser(uid int, opts *gitlab.ListSSHKeysForUserOptions) ([]*gitlab.SSHKey, error) { |
| 103 | git, err := newGitlabClient() |
no test coverage detected