Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ functions
Functions
7,487 in github.com/cli/cli
⨍
Functions
7,487
◇
Types & classes
1,526
Method
GetImageDigest
(imgName string)
pkg/cmd/attestation/artifact/oci/mock_client.go:43
Method
GetImageDigest
(imgName string)
pkg/cmd/attestation/artifact/oci/mock_client.go:53
Method
GetImageDigest
(imgName string)
pkg/cmd/attestation/artifact/oci/mock_client.go:63
Method
GetImageDigest
(imgName string)
pkg/cmd/attestation/artifact/oci/mock_client.go:76
Method
GetIncremental
()
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:173
Method
GetJob
GetJob calls GetJobFunc.
pkg/cmd/agent-task/capi/client_mock.go:206
Method
GetJobCalls
GetJobCalls gets all the calls that were made to GetJob. Check the length with: len(mockedCapiClient.GetJobCalls())
pkg/cmd/agent-task/capi/client_mock.go:231
Method
GetKeepAliveReason
GetKeepAliveReason implements portforwarder.PortForwarder.
internal/codespaces/rpc/test/port_forwarder.go:31
Method
GetKeepAliveReason
GetKeepAliveReason fetches the keep alive reason from the channel and returns it.
internal/codespaces/portforwarder/port_forwarder.go:347
Method
GetKey
()
internal/prompter/multi_select_with_search.go:398
Method
GetMeasures
()
internal/barista/observability/telemetry.pb.go:90
Method
GetMessage
()
internal/codespaces/rpc/jupyter/jupyter_server_host_service.v1.pb.go:111
Method
GetMessage
()
internal/codespaces/rpc/ssh/ssh_server_host_service.v1.pb.go:134
Method
GetMessage
()
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:126
Method
GetOrDefault
GetOrDefault calls GetOrDefaultFunc.
internal/gh/mock/config.go:559
Method
GetOrDefaultCalls
GetOrDefaultCalls gets all the calls that were made to GetOrDefault. Check the length with: len(mockedConfig.GetOrDefaultCalls())
internal/gh/mock/config.go:580
Method
GetOrgMemberCodespace
GetOrgMemberCodespace calls GetOrgMemberCodespaceFunc.
pkg/cmd/codespace/mock_api.go:704
Method
GetOrgMemberCodespace
(ctx context.Context, orgName string, userName string, codespaceName string)
internal/codespaces/api/api.go:485
Method
GetOrgMemberCodespaceCalls
GetOrgMemberCodespaceCalls gets all the calls that were made to GetOrgMemberCodespace. Check the length with: len(mockedapiClient.GetOrgMemberCodesp
pkg/cmd/codespace/mock_api.go:729
Method
GetPort
()
internal/codespaces/rpc/jupyter/jupyter_server_host_service.v1.pb.go:118
Method
GetPullRequestDatabaseID
GetPullRequestDatabaseID calls GetPullRequestDatabaseIDFunc.
pkg/cmd/agent-task/capi/client_mock.go:250
Method
GetPullRequestDatabaseIDCalls
GetPullRequestDatabaseIDCalls gets all the calls that were made to GetPullRequestDatabaseID. Check the length with: len(mockedCapiClient.GetPullRequ
pkg/cmd/agent-task/capi/client_mock.go:277
Method
GetRebuildContainer
()
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:220
Method
GetRepository
GetRepository calls GetRepositoryFunc.
pkg/cmd/codespace/mock_api.go:748
Method
GetRepository
GetRepository returns the repository associated with the given owner and name.
internal/codespaces/api/api.go:167
Method
GetRepositoryCalls
GetRepositoryCalls gets all the calls that were made to GetRepository. Check the length with: len(mockedapiClient.GetRepositoryCalls())
pkg/cmd/codespace/mock_api.go:769
Method
GetResult
()
internal/codespaces/rpc/jupyter/jupyter_server_host_service.v1.pb.go:104
Method
GetResult
()
internal/codespaces/rpc/ssh/ssh_server_host_service.v1.pb.go:113
Method
GetResult
()
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:119
Method
GetRunningServer
(ctx context.Context, in *GetRunningServerRequest, opts ...grpc.CallOption)
internal/codespaces/rpc/jupyter/jupyter_server_host_service.v1_grpc.pb.go:36
Method
GetRunningServer
(context.Context, *GetRunningServerRequest)
internal/codespaces/rpc/jupyter/jupyter_server_host_service.v1_grpc.pb.go:49
Method
GetRunningServer
(context.Context, *GetRunningServerRequest)
internal/codespaces/rpc/jupyter/jupyter_server_host_service.v1_grpc.pb.go:57
Method
GetRunningServer
GetRunningServer calls GetRunningServerFunc.
internal/codespaces/rpc/jupyter/jupyter_server_host_service.v1.proto.mock.go:58
Method
GetRunningServerCalls
GetRunningServerCalls gets all the calls that were made to GetRunningServer. Check the length with: len(mockedJupyterServerHostServer.GetRunningServ
internal/codespaces/rpc/jupyter/jupyter_server_host_service.v1.proto.mock.go:79
Method
GetServerPort
()
internal/codespaces/rpc/ssh/ssh_server_host_service.v1.pb.go:120
Method
GetServerUrl
()
internal/codespaces/rpc/jupyter/jupyter_server_host_service.v1.pb.go:125
Method
GetSession
GetSession calls GetSessionFunc.
pkg/cmd/agent-task/capi/client_mock.go:298
Method
GetSessionCalls
GetSessionCalls gets all the calls that were made to GetSession. Check the length with: len(mockedCapiClient.GetSessionCalls())
pkg/cmd/agent-task/capi/client_mock.go:319
Method
GetSessionLogs
GetSessionLogs calls GetSessionLogsFunc.
pkg/cmd/agent-task/capi/client_mock.go:334
Method
GetSessionLogs
GetSessionLogs retrieves logs of an agent session identified by ID.
pkg/cmd/agent-task/capi/sessions.go:336
Method
GetSessionLogsCalls
GetSessionLogsCalls gets all the calls that were made to GetSessionLogs. Check the length with: len(mockedCapiClient.GetSessionLogsCalls())
pkg/cmd/agent-task/capi/client_mock.go:355
Method
GetSubscription
GetSubscription calls GetSubscriptionFunc.
pkg/cmd/event/client/client_mock.go:183
Method
GetSubscription
(ctx context.Context, id string)
pkg/cmd/event/client/client.go:115
Method
GetSubscriptionCalls
GetSubscriptionCalls gets all the calls that were made to GetSubscription. Check the length with: len(mockedEventClient.GetSubscriptionCalls())
pkg/cmd/event/client/client_mock.go:204
Method
GetTrustDomain
()
pkg/cmd/attestation/api/mock_client.go:34
Method
GetUser
GetUser calls GetUserFunc.
pkg/cmd/codespace/mock_api.go:784
Method
GetUser
GetUser returns the user associated with the given token.
internal/codespaces/api/api.go:118
Method
GetUser
()
internal/codespaces/rpc/ssh/ssh_server_host_service.v1.pb.go:127
Method
GetUserCalls
GetUserCalls gets all the calls that were made to GetUser. Check the length with: len(mockedapiClient.GetUserCalls())
pkg/cmd/codespace/mock_api.go:803
Method
GetUserPublicKey
()
internal/codespaces/rpc/ssh/ssh_server_host_service.v1.pb.go:63
Method
GetValue
()
internal/prompter/multi_select_with_search.go:399
Method
GetWithComments
GetWithComments calls GetWithCommentsFunc.
pkg/cmd/discussion/client/client_mock.go:488
Method
GetWithComments
(repo ghrepo.Interface, number int32, limit int, after string, newest bool)
pkg/cmd/discussion/client/client.go:535
Method
GetWithCommentsCalls
GetWithCommentsCalls gets all the calls that were made to GetWithComments. Check the length with: len(mockedDiscussionClient.GetWithCommentsCalls())
pkg/cmd/discussion/client/client_mock.go:515
Function
GetWorkflow
(client *api.Client, repo ghrepo.Interface, workflowID int64)
pkg/cmd/workflow/shared/shared.go:151
Method
GitProtocol
GitProtocol calls GitProtocolFunc.
internal/gh/mock/config.go:595
Method
GitProtocolCalls
GitProtocolCalls gets all the calls that were made to GitProtocol. Check the length with: len(mockedConfig.GitProtocolCalls())
internal/gh/mock/config.go:614
Method
Grayf
Deprecated: Use Mutedf instead for thematically contrasting color.
pkg/iostreams/color.go:148
Method
HTTPUnixSocket
HTTPUnixSocket calls HTTPUnixSocketFunc.
internal/gh/mock/config.go:627
Method
HTTPUnixSocketCalls
HTTPUnixSocketCalls gets all the calls that were made to HTTPUnixSocket. Check the length with: len(mockedConfig.HTTPUnixSocketCalls())
internal/gh/mock/config.go:646
Method
HasActiveToken
(host string)
pkg/cmd/attestation/trustedroot/trustedroot_test.go:216
Method
HasActiveToken
HasActiveToken returns true when a token for the hostname is present.
internal/config/config.go:368
Method
HasEnvToken
HasEnvToken returns true when a token has been specified in an environment variable, else returns false.
internal/config/config.go:374
Method
HasLocalBranch
(ctx context.Context, branch string)
git/client.go:705
Method
HasLocalBranch
(branch string)
pkg/cmd/repo/sync/git.go:72
Method
HasLocalBranch
(a string)
pkg/cmd/repo/sync/mocks.go:37
Method
HasNextPage
userOwnerWithItemsNoQuery
pkg/cmd/project/shared/queries/queries.go:762
Method
HasNextPage
userOwnerWithItems
pkg/cmd/project/shared/queries/queries.go:779
Method
HasNextPage
orgOwnerWithItems
pkg/cmd/project/shared/queries/queries.go:796
Method
HasNextPage
orgOwnerWithItemsNoQuery
pkg/cmd/project/shared/queries/queries.go:813
Method
HasNextPage
viewerOwnerWithItems
pkg/cmd/project/shared/queries/queries.go:830
Method
HasNextPage
viewerOwnerWithItemsNoQuery
pkg/cmd/project/shared/queries/queries.go:847
Method
HasNextPage
userOwnerWithFields
pkg/cmd/project/shared/queries/queries.go:864
Method
HasNextPage
orgOwnerWithFields
pkg/cmd/project/shared/queries/queries.go:881
Method
HasNextPage
viewerOwnerWithFields
pkg/cmd/project/shared/queries/queries.go:898
Method
Helper
()
test/helpers.go:44
Method
HiddenReason
()
api/queries_pr_review.go:74
Method
HiddenReason
()
api/queries_comments.go:147
Method
Highlight
(t string)
pkg/iostreams/color.go:220
Method
HostForAPIHost
(apiHost string)
internal/attachments/client_test.go:59
Method
HostForAPIHost
HostForAPIHost never resolves, because the token here is supplied directly by the login flow and is used for whatever host the request is aimed at.
internal/authflow/flow.go:145
Method
HostForAPIHost
HostForAPIHost returns the configured host whose api_host points at apiHost, reporting false when no host claims it. go-gh sends API requests for a h
internal/config/config.go:459
Method
HostForAPIHost
(string)
api/http_client.go:32
Method
HostForAPIHost
HostForAPIHost resolves via an "api_host:<apiHost>" key holding the host that configured it, mirroring the reverse lookup the real config performs.
api/http_client_test.go:634
Method
HostForAPIHost
(apiHost string)
api/http_client_test.go:648
Method
ID
()
pkg/cmd/project/shared/queries/queries.go:447
Method
ID
()
api/queries_repo.go:1192
Method
ID
()
api/queries_repo.go:1222
Method
Identifier
()
pkg/cmd/pr/shared/comments.go:16
Method
Identifier
()
api/queries_issue.go:479
Method
Identifier
()
api/queries_pr_review.go:51
Method
Identifier
()
api/queries_pr.go:320
Method
Identifier
()
api/queries_comments.go:127
Method
Init
--- huh.Field interface ---
internal/prompter/multi_select_with_search.go:215
Method
Input
(string, string)
pkg/cmd/release/create/create.go:27
Method
Input
(string, string)
pkg/cmd/auth/shared/prompt.go:8
Method
Input
(string, string)
pkg/cmd/repo/create/create.go:34
Method
Input
(string, string)
pkg/cmd/repo/rename/rename.go:21
Method
Input
(string, string)
pkg/cmd/repo/edit/edit.go:29
Method
Input
(string, string)
pkg/cmd/variable/set/set.go:25
← previous
next →
4,501–4,600 of 7,487, ranked by callers