Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ functions
Functions
7,572 in github.com/cli/cli
⨍
Functions
7,572
◇
Types & classes
1,537
Function
TestGenManJSONFields
(t *testing.T)
internal/docs/man_test.go:116
Function
TestGenManNoHiddenParents
(t *testing.T)
internal/docs/man_test.go:48
Function
TestGenManSeeAlso
(t *testing.T)
internal/docs/man_test.go:83
Function
TestGenManTree
(t *testing.T)
internal/docs/man_test.go:172
Function
TestGenMdAliases
(t *testing.T)
internal/docs/markdown_test.go:73
Function
TestGenMdDoc
(t *testing.T)
internal/docs/markdown_test.go:12
Function
TestGenMdDocWithNoLongOrSynopsis
(t *testing.T)
internal/docs/markdown_test.go:32
Function
TestGenMdJSONFields
(t *testing.T)
internal/docs/markdown_test.go:87
Function
TestGenMdNoHiddenParents
(t *testing.T)
internal/docs/markdown_test.go:48
Function
TestGenMdTree
(t *testing.T)
internal/docs/markdown_test.go:102
Function
TestGenerateAutomaticSSHKeys
(t *testing.T)
pkg/cmd/codespace/ssh_test.go:31
Function
TestGenerateReleaseNotesHTTPError
(t *testing.T)
pkg/cmd/release/create/http_test.go:42
Function
TestGenerateReleaseNotesNotImplemented
(t *testing.T)
pkg/cmd/release/create/http_test.go:29
Function
TestGenerateSSHPublicKey
(t *testing.T)
acceptance/acceptance_test.go:232
Function
TestGeneratedServerCertificateChainsToTheCA
(t *testing.T)
script/api-host-gateway/gateway/main_test.go:109
Function
TestGet
(t *testing.T)
pkg/cmd/issue/artifact/client/client_test.go:381
Function
TestGetAnnotations404
(t *testing.T)
pkg/cmd/run/shared/shared_test.go:44
Function
TestGetAttestationDetail
(t *testing.T)
pkg/cmd/attestation/inspect/bundle_test.go:38
Function
TestGetAttestationsMaxRetries
test total retries
pkg/cmd/attestation/api/client_test.go:424
Function
TestGetAttestationsRetries
(t *testing.T)
pkg/cmd/attestation/api/client_test.go:356
Function
TestGetAttestationsRetriesRESTWithNextError
(t *testing.T)
pkg/cmd/attestation/api/client_test.go:385
Function
TestGetAttestations_GhAPI_NoAttestationsFound
(t *testing.T)
pkg/cmd/attestation/verify/attestation_test.go:54
Function
TestGetAttestations_LocalBundle_PredicateTypeFiltering
(t *testing.T)
pkg/cmd/attestation/verify/attestation_test.go:35
Function
TestGetAttestations_OCIRegistry_PredicateTypeFiltering
(t *testing.T)
pkg/cmd/attestation/verify/attestation_test.go:13
Function
TestGetBundle
getBundle successfully fetches a bundle on the first HTTP request attempt
pkg/cmd/attestation/api/client_test.go:260
Function
TestGetBundle_PermanentBackoffFail
getBundle does not retry when the function fails with a permanent backoff error condition
pkg/cmd/attestation/api/client_test.go:294
Function
TestGetBundle_RequestFail
getBundle retries when the HTTP request fails
pkg/cmd/attestation/api/client_test.go:310
Function
TestGetBundle_SuccessfulRetry
getBundle retries successfully when the initial HTTP request returns a 5XX status code
pkg/cmd/attestation/api/client_test.go:276
Function
TestGetByDigest
(t *testing.T)
pkg/cmd/attestation/api/client_test.go:116
Function
TestGetByDigest_Error
(t *testing.T)
pkg/cmd/attestation/api/client_test.go:154
Function
TestGetByDigest_NoAttestationsFound
(t *testing.T)
pkg/cmd/attestation/api/client_test.go:134
Function
TestGetByNumber
(t *testing.T)
pkg/cmd/discussion/client/client_test.go:1012
Function
TestGetCaches
(t *testing.T)
pkg/cmd/cache/shared/shared_test.go:19
Function
TestGetComment
(t *testing.T)
pkg/cmd/discussion/client/client_test.go:3690
Function
TestGetCommentReplies
(t *testing.T)
pkg/cmd/discussion/client/client_test.go:1815
Function
TestGetExpansion
(t *testing.T)
pkg/cmd/alias/set/set_test.go:312
Function
TestGetExtensionsReturnsBrowsableMetadata
(t *testing.T)
pkg/cmd/extension/browse/browse_test.go:20
Function
TestGetImageDigest_AuthFail
(t *testing.T)
pkg/cmd/attestation/artifact/oci/client_test.go:55
Function
TestGetImageDigest_Denied
(t *testing.T)
pkg/cmd/attestation/artifact/oci/client_test.go:72
Function
TestGetImageDigest_ReferenceFail
(t *testing.T)
pkg/cmd/attestation/artifact/oci/client_test.go:39
Function
TestGetImageDigest_Success
(t *testing.T)
pkg/cmd/attestation/artifact/oci/client_test.go:15
Function
TestGetJob
(t *testing.T)
pkg/cmd/agent-task/capi/job_test.go:38
Function
TestGetJobRequiresRepoAndJobID
(t *testing.T)
pkg/cmd/agent-task/capi/job_test.go:26
Function
TestGetLocalAttestations
(t *testing.T)
pkg/cmd/attestation/verification/attestation_test.go:66
Function
TestGetOrCreateDeviceID
(t *testing.T)
internal/telemetry/telemetry_test.go:41
Function
TestGetOrDefaultApplicationDefaults
(t *testing.T)
internal/config/config_test.go:39
Function
TestGetOrDefaultExistingHostSpecificKey
(t *testing.T)
internal/config/config_test.go:105
Function
TestGetOrDefaultExistingTopLevelKey
(t *testing.T)
internal/config/config_test.go:91
Function
TestGetOrDefaultHostnameSpecificKeyFallsBackToTopLevel
(t *testing.T)
internal/config/config_test.go:119
Function
TestGetOrDefaultNonExistentHostSpecificKey
(t *testing.T)
internal/config/config_test.go:80
Function
TestGetOrDefaultNonExistentKey
(t *testing.T)
internal/config/config_test.go:69
Function
TestGetOrgAndRepo
(t *testing.T)
pkg/cmd/attestation/inspect/bundle_test.go:12
Function
TestGetPullRequestDatabaseID
(t *testing.T)
pkg/cmd/agent-task/capi/sessions_test.go:1841
Function
TestGetRawGistFile
(t *testing.T)
pkg/cmd/gist/shared/shared_test.go:224
Function
TestGetRepoSuggestions
(t *testing.T)
internal/codespaces/api/api_test.go:440
Function
TestGetSSHKeyHTTPError
(t *testing.T)
pkg/cmd/ssh-key/delete/delete_test.go:231
Function
TestGetSecretApp
(t *testing.T)
pkg/cmd/secret/shared/shared_test.go:71
Function
TestGetSecretEntity
(t *testing.T)
pkg/cmd/secret/shared/shared_test.go:9
Function
TestGetSession
(t *testing.T)
pkg/cmd/agent-task/capi/sessions_test.go:1574
Function
TestGetSessionRequiresID
(t *testing.T)
pkg/cmd/agent-task/capi/sessions_test.go:1567
Function
TestGetSubscription
(t *testing.T)
pkg/cmd/event/client/client_test.go:77
Function
TestGetTagsHTTPError
(t *testing.T)
pkg/cmd/release/create/http_test.go:16
Function
TestGetTrustDomain
(t *testing.T)
pkg/cmd/attestation/api/client_test.go:324
Function
TestGetTrustedRoot
(t *testing.T)
pkg/cmd/attestation/trustedroot/trustedroot_test.go:181
Function
TestGetVariableEntity
(t *testing.T)
pkg/cmd/variable/shared/shared_test.go:9
Function
TestGetWithComments
(t *testing.T)
pkg/cmd/discussion/client/client_test.go:1152
Function
TestGetWorkflows
(t *testing.T)
pkg/cmd/workflow/shared/shared_test.go:304
Function
TestGetZipLogMap
(t *testing.T)
pkg/cmd/run/view/logs_test.go:135
Function
TestGitCommandHelperProcess
(t *testing.T)
git/client_test.go:1628
Function
TestGitCredentialsSetup_setOurs_GH
(t *testing.T)
pkg/cmd/auth/shared/git_credential_test.go:117
Function
TestGitHubRepo_notFound
(t *testing.T)
api/queries_repo_test.go:19
Function
TestGitHubRepo_success
(t *testing.T)
api/queries_repo_test.go:33
Function
TestGitHubRepo_withParent
(t *testing.T)
api/queries_repo_test.go:79
Function
TestGitHubTUFOptionsNoMetadataDir
(t *testing.T)
pkg/cmd/attestation/verification/tuf_test.go:13
Function
TestGitHubTUFOptionsWithMetadataDir
(t *testing.T)
pkg/cmd/attestation/verification/tuf_test.go:23
Function
TestGitIgnoreTemplateReturnsErrorWhenGitIgnoreTemplateNotFound
(t *testing.T)
api/queries_repo_test.go:1346
Function
TestGitIgnoreTemplateReturnsGitIgnoreTemplate
(t *testing.T)
api/queries_repo_test.go:1315
Function
TestGitProtocolWorksRightAfterMigration
(t *testing.T)
internal/config/auth_config_test.go:724
Function
TestGlobPaths
(t *testing.T)
pkg/cmdutil/args_test.go:188
Function
TestGraphQL
(t *testing.T)
api/client_test.go:23
Function
TestGraphQLEndpoint
(t *testing.T)
internal/ghinstance/host_test.go:91
Function
TestGraphQLError
(t *testing.T)
api/client_test.go:48
Function
TestGraphQLWithHeader
(t *testing.T)
api/request_test.go:380
Function
TestHTTPClientRedirectAuthenticationHeaderHandling
(t *testing.T)
api/http_client_test.go:369
Function
TestHTTPClientSanitizeControlCharactersC1
(t *testing.T)
api/http_client_test.go:469
Function
TestHTTPClientSanitizeJSONControlCharactersC0
(t *testing.T)
api/http_client_test.go:432
Function
TestHTTPClientVerboseLogSanitizesTextBody
(t *testing.T)
api/http_client_test.go:504
Function
TestHTTPError_ScopesSuggestion
(t *testing.T)
api/client_test.go:253
Function
TestHTTPHeaders
(t *testing.T)
api/client_test.go:322
Function
TestHTTPURL
(t *testing.T)
pkg/cmd/issue/artifact/shared/shared_test.go:962
Function
TestHandleAdditionalPermissions
(t *testing.T)
pkg/cmd/codespace/create_test.go:732
Function
TestHandleHTTPError_GraphQL502
(t *testing.T)
api/client_test.go:236
Function
TestHasActiveToken
(t *testing.T)
internal/config/auth_config_test.go:68
Function
TestHasEnvTokenWithEnvToken
(t *testing.T)
internal/config/auth_config_test.go:162
Function
TestHasEnvTokenWithNoEnvTokenButAConfigVar
(t *testing.T)
internal/config/auth_config_test.go:175
Function
TestHasEnvTokenWithoutAnyEnvToken
(t *testing.T)
internal/config/auth_config_test.go:151
Function
TestHasHiddenDirSkills
(t *testing.T)
internal/skills/discovery/discovery_test.go:277
Function
TestHasNoActiveToken
(t *testing.T)
internal/config/auth_config_test.go:81
Function
TestHasScript
(t *testing.T)
pkg/cmd/extension/http_test.go:90
Function
TestHeadersAreNotMutated
(t *testing.T)
internal/tableprinter/table_printer_test.go:11
← previous
next →
5,601–5,700 of 7,572, ranked by callers