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
RoundTrip
(req *http.Request)
pkg/cmd/send-telemetry/send_telemetry.go:117
Method
RoundTrip
(req *http.Request)
pkg/cmd/workflow/shared/shared_test.go:172
Method
RoundTrip
RoundTrip satisfies http.RoundTripper
pkg/httpmock/registry.go:83
Method
RoundTrip
(req *http.Request)
internal/authflow/flow_test.go:42
Method
RoundTrip
(req *http.Request)
internal/authflow/refresh_test.go:26
Method
RoundTrip
(req *http.Request)
api/http_client.go:298
Method
RoundTrip
(req *http.Request)
api/client_test.go:426
Method
RoundTrip
(req *http.Request)
acceptance/fixture_repository_test.go:89
Method
Run
()
test/helpers.go:36
Method
Run
()
internal/run/run.go:51
Method
Run
()
internal/prompter/multi_select_with_search.go:400
Method
RunAccessible
(w io.Writer, r io.Reader)
internal/prompter/multi_select_with_search.go:401
Method
RunWithProgress
(label string, run func() error)
pkg/iostreams/iostreams.go:374
Method
Search
Search calls SearchFunc.
pkg/cmd/discussion/client/client_mock.go:680
Method
Search
(repo ghrepo.Interface, filters SearchFilters, after string, limit int)
pkg/cmd/discussion/client/client.go:287
Method
SearchCalls
SearchCalls gets all the calls that were made to Search. Check the length with: len(mockedDiscussionClient.SearchCalls())
pkg/cmd/discussion/client/client_mock.go:705
Method
SearchFeatures
()
internal/featuredetection/feature_detection.go:399
Method
SearchFeatures
()
internal/featuredetection/detector_mock.go:27
Method
SearchFeatures
()
internal/featuredetection/detector_mock.go:61
Method
SearchFeatures
()
internal/featuredetection/detector_mock.go:82
Method
Select
(string, string, []string)
pkg/cmd/release/create/create.go:26
Method
Select
(string, string, []string)
pkg/cmd/auth/shared/prompt.go:4
Method
Select
(string, string, []string)
pkg/cmd/project/shared/queries/queries.go:60
Method
Select
(string, string, []string)
pkg/cmd/issue/lock/lock.go:32
Method
Select
(string, string, []string)
pkg/cmd/repo/setdefault/setdefault.go:38
Method
Select
(string, string, []string)
pkg/cmd/repo/create/create.go:35
Method
Select
(string, string, []string)
pkg/cmd/repo/edit/edit.go:31
Method
Select
(string, string, []string)
pkg/cmd/run/list/list.go:46
Method
Select
(string, string, []string)
pkg/cmd/run/shared/shared.go:21
Method
Select
(string, string, []string)
pkg/cmd/pr/shared/templates.go:125
Method
Select
(string, string, []string)
pkg/cmd/workflow/disable/disable.go:29
Method
Select
(string, string, []string)
pkg/cmd/workflow/view/view.go:42
Method
Select
(string, string, []string)
pkg/cmd/workflow/enable/enable.go:29
Method
Select
(string, string, []string)
pkg/cmd/workflow/shared/shared.go:30
Method
Select
Select calls SelectFunc.
internal/prompter/prompter_mock.go:491
Method
Select
(prompt, defaultValue string, options []string)
internal/prompter/huh_prompter.go:67
Method
Select
(prompt, defaultValue string, options []string)
internal/prompter/prompter.go:116
Method
Select
(prompt, defaultValue string, options []string)
internal/prompter/prompter.go:353
Function
SemanticSearchSupported
()
internal/featuredetection/detector_mock.go:104
Function
SemanticSearchUnsupported
()
internal/featuredetection/detector_mock.go:110
Method
ServeHTTP
(resp http.ResponseWriter, req *http.Request)
internal/barista/observability/telemetry.twirp.go:289
Method
ServerURL
ServerURL calls ServerURLFunc.
pkg/cmd/codespace/mock_api.go:896
Method
ServerURL
ServerURL returns the server url (not the API url), such as https://github.com
internal/codespaces/api/api.go:113
Method
ServerURLCalls
ServerURLCalls gets all the calls that were made to ServerURL. Check the length with: len(mockedapiClient.ServerURLCalls())
pkg/cmd/codespace/mock_api.go:912
Method
ServiceDescriptor
()
internal/barista/observability/telemetry.twirp.go:512
Method
ServiceDescriptor
ServiceDescriptor returns gzipped bytes describing the .proto file that this service was generated from. Once unzipped, the bytes can be unmarshalled
internal/barista/observability/telemetry.twirp.go:558
Function
SessionStateString
SessionStateString returns the humane/capitalised form of the given session state.
pkg/cmd/agent-task/shared/display.go:28
Function
SessionSymbol
(cs *iostreams.ColorScheme, state string)
pkg/cmd/agent-task/shared/display.go:53
Method
Set
(v string)
script/ghmock/run.go:77
Method
Set
(value string)
pkg/cmdutil/flags.go:80
Method
Set
(value string)
pkg/cmdutil/flags.go:104
Method
Set
(value string)
pkg/cmdutil/flags.go:132
Method
Set
(value string)
pkg/cmdutil/flags.go:153
Method
Set
(s string)
pkg/cmd/event/listen/listen.go:202
Method
Set
(str string)
pkg/cmd/codespace/create.go:48
Method
Set
Set calls SetFunc.
internal/gh/mock/config.go:819
Method
SetActiveToken
SetActiveToken will override any token resolution and return the given token and source for all calls to ActiveToken. Use for testing purposes only.
internal/config/config.go:395
Method
SetCalls
SetCalls gets all the calls that were made to Set. Check the length with: len(mockedConfig.SetCalls())
internal/gh/mock/config.go:842
Method
SetDeadline
(deadline time.Time)
internal/codespaces/connection/tunnels_api_server_mock.go:498
Method
SetHosts
SetHosts will override any hosts resolution and return the given hosts for all calls to Hosts. Use for testing purposes only.
internal/config/config.go:479
Method
SetSampleRate
SetSampleRate captures the sampling policy requested by a command.
internal/telemetry/fake.go:47
Method
SetSampleRate
SetSampleRate selects the sampling policy for the whole invocation. Changes after Finish have no effect.
internal/telemetry/telemetry.go:308
Method
SetTokenRefresher
(refresher gh.TokenRefresher)
pkg/cmd/factory/default_test.go:494
Method
SetTokenRefresher
SetTokenRefresher supplies the refresher used to renew tokens. Because Authentication returns a single shared AuthConfig, a refresher set once remains
internal/config/config.go:295
Method
Size
()
pkg/iostreams/iostreams.go:582
Method
Size
()
internal/safepaths/link_windows_test.go:166
Function
SomeIfNonZero
(value T)
pkg/option/option.go:49
Method
Spinner
Spinner calls SpinnerFunc.
internal/gh/mock/config.go:859
Method
SpinnerCalls
SpinnerCalls gets all the calls that were made to Spinner. Check the length with: len(mockedConfig.SpinnerCalls())
internal/gh/mock/config.go:878
Method
StartCodespace
(ctx context.Context, name string)
pkg/cmd/codespace/common.go:75
Method
StartCodespace
StartCodespace calls StartCodespaceFunc.
pkg/cmd/codespace/mock_api.go:923
Method
StartCodespace
(ctx context.Context, name string)
internal/codespaces/codespaces_test.go:227
Method
StartCodespace
StartCodespace starts a codespace for the user. If the codespace is already running, the returned error from the API is ignored.
internal/codespaces/api/api.go:586
Method
StartCodespaceCalls
StartCodespaceCalls gets all the calls that were made to StartCodespace. Check the length with: len(mockedapiClient.StartCodespaceCalls())
pkg/cmd/codespace/mock_api.go:944
Method
StartJupyterServer
Starts a remote JupyterLab server to allow the user to connect to the codespace via JupyterLab in their browser
internal/codespaces/rpc/invoker.go:169
Method
StartProgressIndicator
()
pkg/cmd/pr/shared/finder_test.go:1004
Method
StartProgressIndicator
()
pkg/iostreams/iostreams.go:300
Method
StartProgressIndicatorWithLabel
(s string)
internal/codespaces/codespaces_test.go:249
Method
StartRemoteServerAsync
StartRemoteServerAsync calls StartRemoteServerAsyncFunc.
internal/codespaces/rpc/ssh/ssh_server_host_service.v1.proto.mock.go:58
Method
StartRemoteServerAsync
(ctx context.Context, in *StartRemoteServerRequest, opts ...grpc.CallOption)
internal/codespaces/rpc/ssh/ssh_server_host_service.v1_grpc.pb.go:36
Method
StartRemoteServerAsync
(context.Context, *StartRemoteServerRequest)
internal/codespaces/rpc/ssh/ssh_server_host_service.v1_grpc.pb.go:49
Method
StartRemoteServerAsync
(context.Context, *StartRemoteServerRequest)
internal/codespaces/rpc/ssh/ssh_server_host_service.v1_grpc.pb.go:57
Method
StartRemoteServerAsyncCalls
StartRemoteServerAsyncCalls gets all the calls that were made to StartRemoteServerAsync. Check the length with: len(mockedSshServerHostServer.StartR
internal/codespaces/rpc/ssh/ssh_server_host_service.v1.proto.mock.go:79
Method
StartSSHServer
Starts a remote SSH server to allow the user to connect to the codespace via SSH
internal/codespaces/rpc/invoker.go:216
Method
Status
()
api/queries_pr_review.go:94
Method
Status
()
api/queries_comments.go:167
Method
StopCodespace
StopCodespace calls StopCodespaceFunc.
pkg/cmd/codespace/mock_api.go:959
Method
StopCodespace
(ctx context.Context, codespaceName string, orgName string, userName string)
internal/codespaces/api/api.go:619
Method
StopCodespaceCalls
StopCodespaceCalls gets all the calls that were made to StopCodespace. Check the length with: len(mockedapiClient.StopCodespaceCalls())
pkg/cmd/codespace/mock_api.go:984
Method
StopProgressIndicator
()
pkg/cmd/pr/shared/finder.go:35
Method
StopProgressIndicator
()
pkg/cmd/pr/shared/finder_test.go:1008
Method
StopProgressIndicator
()
internal/codespaces/codespaces_test.go:250
Method
String
()
script/ghmock/run.go:75
Method
String
()
git/objects.go:38
Method
String
()
pkg/cmdutil/flags.go:85
Method
String
()
pkg/cmdutil/flags.go:110
Method
String
()
pkg/cmdutil/flags.go:140
Method
String
()
pkg/cmdutil/flags.go:164
Method
String
()
pkg/surveyext/editor_test.go:266
Method
String
(cs *iostreams.ColorScheme)
pkg/cmd/auth/status/status.go:87
← previous
next →
5,001–5,100 of 7,487, ranked by callers