client/httpsclient_test.go:81:19: string `Internal API unreachable` has 3 occurrences, but such constant `internalAPIUnreachable` already exists (goconst)
cmd/gitlab-shell-authorized-keys-check/command/command_test.go:32:27: string `git` has 8 occurrences, make it a constant (goconst)
cmd/gitlab-shell-authorized-keys-check/command/command_test.go:68:39: string `actual` has 3 occurrences, make it a constant (goconst)
cmd/gitlab-shell-authorized-keys-check/command/command_test.go:99:28: string `user` has 6 occurrences, make it a constant (goconst)
cmd/gitlab-shell-authorized-principals-check/command/command_test.go:32:27: string `key` has 8 occurrences, make it a constant (goconst)
cmd/gitlab-shell-authorized-principals-check/command/command_test.go:60:34: string `principal-1` has 5 occurrences, make it a constant (goconst)
cmd/gitlab-shell/command/command_test.go:28:46: string `http+unix://gitlab.socket` has 5 occurrences, make it a constant (goconst)
cmd/gitlab-shell/command/command_test.go:264:27: string `hello` has 12 occurrences, make it a constant (goconst)
cmd/gitlab-shell/command/command_test.go:305:69: string `2fa_recovery_codes` has 7 occurrences, make it a constant (goconst)
cmd/gitlab-shell/command/command_test.go:314:78: string `git-receive-pack` has 6 occurrences, make it a constant (goconst)
cmd/gitlab-shell/command/command_test.go:319:69: string `git-receive-pack 'group/repo'` has 6 occurrences, make it a constant (goconst)
cmd/gitlab-shell/command/command_test.go:428:22: string `username` has 3 occurrences, make it a constant (goconst)
cmd/gitlab-shell/command/command_test.go:459:17: string `group` has 3 occurrences, make it a constant (goconst)
internal/clients/gitlab/client_test.go:40:49: string `http://localhost` has 3 occurrences, make it a constant (goconst)
internal/clients/gitlab/client_test.go:113:14: string `/api/v4/internal/check` has 4 occurrences, make it a constant (goconst)
internal/command/authorizedkeys/authorized_keys_test.go:23:36: string `key` has 3 occurrences, make it a constant (goconst)
internal/command/authorizedkeys/authorized_keys_test.go:57:62: string `user` has 8 occurrences, make it a constant (goconst)
internal/command/command_test.go:31:5: string `CORRELATION_ID` has 3 occurrences, make it a constant (goconst)
internal/command/command_test.go:33:27: string `abc123` has 3 occurrences, make it a constant (goconst)
internal/command/command_test.go:242:27: string `alex-doe` has 3 occurrences, make it a constant (goconst)
internal/command/command_test.go:243:27: string `flightjs` has 3 occurrences, make it a constant (goconst)
internal/command/commandargs/shell_test.go:19:26: string `jane-doe` has 4 occurrences, make it a constant (goconst)
internal/command/commandargs/shell_test.go:21:26: string `jane@EXAMPLE.COM` has 4 occurrences, make it a constant (goconst)
internal/command/discover/discover_test.go:25:78: string `alex-doe` has 4 occurrences, make it a constant (goconst)
internal/command/discover/discover_test.go:58:22: string `@alex-doe` has 4 occurrences, make it a constant (goconst)
internal/command/githttp/pull_test.go:86:21: string `unexpected response` has 4 occurrences, make it a constant (goconst)
internal/command/githttp/pull_test.go:97:12: string `/info/refs` has 4 occurrences, make it a constant (goconst)
internal/command/githttp/push_test.go:64:21: string `unexpected response` has 4 occurrences, make it a constant (goconst)
internal/command/githttp/push_test.go:75:12: string `/info/refs` has 4 occurrences, make it a constant (goconst)
internal/command/healthcheck/healthcheck_test.go:74:15: string `Internal API available: OK
Redis available via internal API: OK
` has 6 occurrences, make it a constant (goconst)
internal/command/healthcheck/healthcheck_test.go:100:56: string `test-secret` has 4 occurrences, make it a constant (goconst)
internal/command/lfsauthenticate/lfsauthenticate_test.go:46:75: string `git-lfs-authenticate` has 4 occurrences, make it a constant (goconst)
internal/command/lfsauthenticate/lfsauthenticate_test.go:113:28: string `somename` has 3 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:325:16: string `download` has 8 occurrences, but such constant `opDownload` already exists (goconst)
internal/command/lfstransfer/lfstransfer_test.go:326:3: string `oid` has 13 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:327:3: string `href` has 14 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:328:3: string `headers` has 12 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:329:4: string `Authorization` has 14 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:330:4: string `Content-Type` has 14 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:392:16: string `upload` has 8 occurrences, but such constant `opUpload` already exists (goconst)
internal/command/lfstransfer/lfstransfer_test.go:426:58: string `id=ggg` has 4 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:434:68: string `token=ggg` has 4 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:458:3: string `error: token hash mismatch` has 4 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:585:71: string `size=0` has 6 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:761:43: string `path=/large/file/1` has 3 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:765:3: string `id=lock1` has 4 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:767:3: string `locked-at=2023-10-03T13:56:20Z` has 4 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:768:3: string `ownername=johndoe` has 4 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:774:43: string `path=/large/file/2` has 4 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:869:3: string `lock lock1` has 6 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:870:3: string `path lock1 /large/file/1` has 6 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:871:3: string `locked-at lock1 2023-10-03T13:56:20Z` has 6 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:872:3: string `ownername lock1 johndoe` has 6 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:874:3: string `lock lock2` has 8 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:875:3: string `path lock2 /large/file/2` has 8 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:876:3: string `locked-at lock2 1955-11-12T22:04:00Z` has 8 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:877:3: string `ownername lock2 marty` has 8 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:879:3: string `lock lock3` has 4 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:880:3: string `path lock3 /large/file/3` has 4 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:881:3: string `locked-at lock3 2023-10-03T13:56:20Z` has 4 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:882:3: string `ownername lock3 janedoe` has 4 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:959:3: string `owner lock1 ours` has 3 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:965:3: string `owner lock2 theirs` has 4 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:1058:15: string `lock1` has 4 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:1059:15: string `/large/file/1` has 4 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:1062:12: string `johndoe` has 5 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:1070:15: string `/large/file/2` has 3 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:1187:5: string `message` has 7 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:1395:4: string `lock` has 5 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:1397:5: string `path` has 5 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:1398:5: string `locked_at` has 5 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:1399:5: string `owner` has 5 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:1400:6: string `name` has 6 occurrences, make it a constant (goconst)
internal/command/lfstransfer/lfstransfer_test.go:1458:5: string `force` has 4 occurrences, but such constant `argForce` already exists (goconst)
internal/command/personalaccesstoken/personalaccesstoken_test.go:40:7: string `success` has 3 occurrences, make it a constant (goconst)
internal/command/personalaccesstoken/personalaccesstoken_test.go:99:32: string `newtoken` has 13 occurrences, make it a constant (goconst)
internal/command/personalaccesstoken/personalaccesstoken_test.go:106:44: string `api` has 3 occurrences, make it a constant (goconst)
internal/command/personalaccesstoken/personalaccesstoken_test.go:120:18: string `default` has 5 occurrences, make it a constant (goconst)
internal/command/personalaccesstoken/personalaccesstoken_test.go:121:48: string `read_api,read_repository` has 7 occurrences, make it a constant (goconst)
internal/command/personalaccesstoken/personalaccesstoken_test.go:170:56: string `read_api` has 3 occurrences, make it a constant (goconst)
internal/command/personalaccesstoken/personalaccesstoken_test.go:181:56: string `read_reposotory` has 3 occurrences, make it a constant (goconst)
internal/command/twofactorrecover/twofactorrecover_test.go:78:15: string `yes
` has 5 occurrences, make it a constant (goconst)
internal/command/twofactorverify/twofactorverify_test.go:45:10: string `verify_via_otp` has 3 occurrences, make it a constant (goconst)
internal/command/twofactorverify/twofactorverify_test.go:47:7: string `success` has 3 occurrences, make it a constant (goconst)
internal/command/uploadpack/gitalycall_test.go:33:12: string `group/repo` has 3 occurrences, make it a constant (goconst)
internal/command/uploadpack/gitalycall_test.go:38:22: string `127.0.0.1` has 3 occurrences, make it a constant (goconst)
internal/command/uploadpack/gitalycall_test.go:44:27: string `git-upload-pack` has 3 occurrences, make it a constant (goconst)
internal/command/uploadpack/uploadpack_test.go:55:72: string `git-upload-pack` has 3 occurrences, make it a constant (goconst)
internal/console/console_test.go:17:13: string `empty` has 5 occurrences, make it a constant (goconst)
internal/console/console_test.go:22:13: string `basically empty` has 5 occurrences, make it a constant (goconst)
internal/console/console_test.go:27:13: string `something` has 10 occurrences, make it a constant (goconst)
internal/console/console_test.go:68:36: string `here` has 3 occurrences, make it a constant (goconst)
internal/executable/executable_test.go:41:21: string `/tmp` has 3 occurrences, make it a constant (goconst)
internal/gitaly/gitaly_test.go:18:49: string `git-upload-pack` has 3 occurrences, make it a constant (goconst)
internal/gitlabnet/accessverifier/client_test.go:40:21: string `user-1` has 3 occurrences, make it a constant (goconst)
internal/gitlabnet/accessverifier/client_test.go:108:3: string `custom` has 6 occurrences, make it a constant (goconst)
internal/gitlabnet/accessverifier/client_test.go:211:21: string `18.245.0.42` has 3 occurrences, make it a constant (goconst)
internal/gitlabnet/accessverifier/client_test.go:216:21: string `2001:0db8:85a3:0000:0000:8a2e:0370:7334` has 3 occurrences, make it a constant (goconst)
internal/gitlabnet/discover/client_test.go:36:43: string `jane-doe` has 4 occurrences, make it a constant (goconst)
internal/gitlabnet/git/client_test.go:97:10: string `/info/refs` has 3 occurrences, make it a constant (goconst)
internal/gitlabnet/lfsauthenticate/client_test.go:39:31: string `john` has 4 occurrences, make it a constant (goconst)
internal/gitlabnet/lfsauthenticate/client_test.go:40:7: string `lfs_token` has 3 occurrences, make it a constant (goconst)
internal/gitlabnet/lfsauthenticate/client_test.go:41:31: string `https://gitlab.com/repo/path` has 4 occurrences, make it a constant (goconst)
internal/gitlabnet/lfsauthenticate/client_test.go:42:7: string `expires_in` has 3 occurrences, make it a constant (goconst)
internal/gitlabnet/lfsauthenticate/client_test.go:68:148: string `download` has 5 occurrences, make it a constant (goconst)
internal/gitlabnet/personalaccesstoken/client_test.go:39:7: string `success` has 3 occurrences, make it a constant (goconst)
internal/gitlabnet/personalaccesstoken/client_test.go:41:31: string `read_api` has 3 occurrences, make it a constant (goconst)
internal/gitlabnet/personalaccesstoken/client_test.go:67:31: string `api` has 5 occurrences, make it a constant (goconst)
internal/gitlabnet/twofactorrecover/client_test.go:39:7: string `success` has 3 occurrences, make it a constant (goconst)
internal/gitlabnet/twofactorverify/client_test.go:33:5: string `success` has 3 occurrences, make it a constant (goconst)
internal/gitlabnet/twofactorverify/client_test.go:45:14: string `Not allowed!` has 3 occurrences, make it a constant (goconst)
internal/handler/exec_test.go:39:43: string `tcp://localhost:9999` has 8 occurrences, make it a constant (goconst)
internal/handler/exec_test.go:125:51: string `true` has 3 occurrences, make it a constant (goconst)
internal/keyline/key_line_test.go:36:81: string `/tmp` has 4 occurrences, make it a constant (goconst)
internal/keyline/key_line_test.go:66:19: string `principal1` has 5 occurrences, make it a constant (goconst)
internal/pktline/pktline_test.go:25:19: string `0010hello world!` has 6 occurrences, make it a constant (goconst)
internal/sshd/connection_test.go:97:45: string `session` has 5 occurrences, but such constant `sessionChannelType` already exists (goconst)
internal/sshd/server_config_test.go:28:54: string `http://localhost` has 6 occurrences, make it a constant (goconst)
internal/sshd/server_config_test.go:38:28: string `127.0.0.1` has 10 occurrences, make it a constant (goconst)
internal/sshd/server_config_test.go:53:55: string `user` has 10 occurrences, make it a constant (goconst)
internal/sshd/server_config_test.go:209:155: string `source-address` has 5 occurrences, make it a constant (goconst)
internal/sshd/server_config_test.go:270:19: string `root` has 6 occurrences, make it a constant (goconst)
internal/sshd/server_config_test.go:271:6: string `namespace` has 4 occurrences, but such constant `certPermNamespace` already exists (goconst)
internal/sshd/server_config_test.go:565:17: string `failed to parse trusted user CA key in file` has 3 occurrences, make it a constant (goconst)
internal/sshd/server_config_test.go:631:42: string `testuser` has 3 occurrences, make it a constant (goconst)
internal/sshd/server_config_test.go:641:77: string `certificate KeyId does not match GitLab username format` has 9 occurrences, make it a constant (goconst)
internal/sshd/server_config_test.go:645:76: string `certificate KeyId contains consecutive special characters` has 3 occurrences, make it a constant (goconst)
internal/sshd/session_test.go:124:24: string `discover` has 4 occurrences, make it a constant (goconst)
internal/sshd/session_test.go:140:22: string `root` has 6 occurrences, make it a constant (goconst)
internal/sshd/sshd_test.go:62:18: string `127.0.0.1` has 10 occurrences, make it a constant (goconst)
internal/topology/client_test.go:32:13: string `localhost:9090` has 3 occurrences, make it a constant (goconst)
internal/topology/config_test.go:53:47: string `/cert.crt` has 3 occurrences, make it a constant (goconst)
internal/topology/config_test.go:57:45: string `/key.pem` has 3 occurrences, make it a constant (goconst)
internal/topology/resolver_test.go:21:25: string `group` has 8 occurrences, make it a constant (goconst)
internal/topology/resolver_test.go:51:37: string `cell-2:8080` has 10 occurrences, make it a constant (goconst)
internal/topology/resolver_test.go:54:15: string `http://localhost` has 3 occurrences, make it a constant (goconst)
internal/topology/resolver_test.go:447:81: string `jane-doe` has 3 occurrences, make it a constant (goconst)
