MCPcopy Create free account

hub / github.com/cli/cli / functions

Functions7,487 in github.com/cli/cli

MethodRoundTrip
(req *http.Request)
pkg/cmd/send-telemetry/send_telemetry.go:117
MethodRoundTrip
(req *http.Request)
pkg/cmd/workflow/shared/shared_test.go:172
MethodRoundTrip
RoundTrip satisfies http.RoundTripper
pkg/httpmock/registry.go:83
MethodRoundTrip
(req *http.Request)
internal/authflow/flow_test.go:42
MethodRoundTrip
(req *http.Request)
internal/authflow/refresh_test.go:26
MethodRoundTrip
(req *http.Request)
api/http_client.go:298
MethodRoundTrip
(req *http.Request)
api/client_test.go:426
MethodRoundTrip
(req *http.Request)
acceptance/fixture_repository_test.go:89
MethodRun
()
test/helpers.go:36
MethodRun
()
internal/run/run.go:51
MethodRun
()
internal/prompter/multi_select_with_search.go:400
MethodRunAccessible
(w io.Writer, r io.Reader)
internal/prompter/multi_select_with_search.go:401
MethodRunWithProgress
(label string, run func() error)
pkg/iostreams/iostreams.go:374
MethodSearch
Search calls SearchFunc.
pkg/cmd/discussion/client/client_mock.go:680
MethodSearch
(repo ghrepo.Interface, filters SearchFilters, after string, limit int)
pkg/cmd/discussion/client/client.go:287
MethodSearchCalls
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
MethodSearchFeatures
()
internal/featuredetection/feature_detection.go:399
MethodSearchFeatures
()
internal/featuredetection/detector_mock.go:27
MethodSearchFeatures
()
internal/featuredetection/detector_mock.go:61
MethodSearchFeatures
()
internal/featuredetection/detector_mock.go:82
MethodSelect
(string, string, []string)
pkg/cmd/release/create/create.go:26
MethodSelect
(string, string, []string)
pkg/cmd/auth/shared/prompt.go:4
MethodSelect
(string, string, []string)
pkg/cmd/project/shared/queries/queries.go:60
MethodSelect
(string, string, []string)
pkg/cmd/issue/lock/lock.go:32
MethodSelect
(string, string, []string)
pkg/cmd/repo/setdefault/setdefault.go:38
MethodSelect
(string, string, []string)
pkg/cmd/repo/create/create.go:35
MethodSelect
(string, string, []string)
pkg/cmd/repo/edit/edit.go:31
MethodSelect
(string, string, []string)
pkg/cmd/run/list/list.go:46
MethodSelect
(string, string, []string)
pkg/cmd/run/shared/shared.go:21
MethodSelect
(string, string, []string)
pkg/cmd/pr/shared/templates.go:125
MethodSelect
(string, string, []string)
pkg/cmd/workflow/disable/disable.go:29
MethodSelect
(string, string, []string)
pkg/cmd/workflow/view/view.go:42
MethodSelect
(string, string, []string)
pkg/cmd/workflow/enable/enable.go:29
MethodSelect
(string, string, []string)
pkg/cmd/workflow/shared/shared.go:30
MethodSelect
Select calls SelectFunc.
internal/prompter/prompter_mock.go:491
MethodSelect
(prompt, defaultValue string, options []string)
internal/prompter/huh_prompter.go:67
MethodSelect
(prompt, defaultValue string, options []string)
internal/prompter/prompter.go:116
MethodSelect
(prompt, defaultValue string, options []string)
internal/prompter/prompter.go:353
FunctionSemanticSearchSupported
()
internal/featuredetection/detector_mock.go:104
FunctionSemanticSearchUnsupported
()
internal/featuredetection/detector_mock.go:110
MethodServeHTTP
(resp http.ResponseWriter, req *http.Request)
internal/barista/observability/telemetry.twirp.go:289
MethodServerURL
ServerURL calls ServerURLFunc.
pkg/cmd/codespace/mock_api.go:896
MethodServerURL
ServerURL returns the server url (not the API url), such as https://github.com
internal/codespaces/api/api.go:113
MethodServerURLCalls
ServerURLCalls gets all the calls that were made to ServerURL. Check the length with: len(mockedapiClient.ServerURLCalls())
pkg/cmd/codespace/mock_api.go:912
MethodServiceDescriptor
()
internal/barista/observability/telemetry.twirp.go:512
MethodServiceDescriptor
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
FunctionSessionStateString
SessionStateString returns the humane/capitalised form of the given session state.
pkg/cmd/agent-task/shared/display.go:28
FunctionSessionSymbol
(cs *iostreams.ColorScheme, state string)
pkg/cmd/agent-task/shared/display.go:53
MethodSet
(v string)
script/ghmock/run.go:77
MethodSet
(value string)
pkg/cmdutil/flags.go:80
MethodSet
(value string)
pkg/cmdutil/flags.go:104
MethodSet
(value string)
pkg/cmdutil/flags.go:132
MethodSet
(value string)
pkg/cmdutil/flags.go:153
MethodSet
(s string)
pkg/cmd/event/listen/listen.go:202
MethodSet
(str string)
pkg/cmd/codespace/create.go:48
MethodSet
Set calls SetFunc.
internal/gh/mock/config.go:819
MethodSetActiveToken
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
MethodSetCalls
SetCalls gets all the calls that were made to Set. Check the length with: len(mockedConfig.SetCalls())
internal/gh/mock/config.go:842
MethodSetDeadline
(deadline time.Time)
internal/codespaces/connection/tunnels_api_server_mock.go:498
MethodSetHosts
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
MethodSetSampleRate
SetSampleRate captures the sampling policy requested by a command.
internal/telemetry/fake.go:47
MethodSetSampleRate
SetSampleRate selects the sampling policy for the whole invocation. Changes after Finish have no effect.
internal/telemetry/telemetry.go:308
MethodSetTokenRefresher
(refresher gh.TokenRefresher)
pkg/cmd/factory/default_test.go:494
MethodSetTokenRefresher
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
MethodSize
()
pkg/iostreams/iostreams.go:582
MethodSize
()
internal/safepaths/link_windows_test.go:166
FunctionSomeIfNonZero
(value T)
pkg/option/option.go:49
MethodSpinner
Spinner calls SpinnerFunc.
internal/gh/mock/config.go:859
MethodSpinnerCalls
SpinnerCalls gets all the calls that were made to Spinner. Check the length with: len(mockedConfig.SpinnerCalls())
internal/gh/mock/config.go:878
MethodStartCodespace
(ctx context.Context, name string)
pkg/cmd/codespace/common.go:75
MethodStartCodespace
StartCodespace calls StartCodespaceFunc.
pkg/cmd/codespace/mock_api.go:923
MethodStartCodespace
(ctx context.Context, name string)
internal/codespaces/codespaces_test.go:227
MethodStartCodespace
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
MethodStartCodespaceCalls
StartCodespaceCalls gets all the calls that were made to StartCodespace. Check the length with: len(mockedapiClient.StartCodespaceCalls())
pkg/cmd/codespace/mock_api.go:944
MethodStartJupyterServer
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
MethodStartProgressIndicator
()
pkg/cmd/pr/shared/finder_test.go:1004
MethodStartProgressIndicator
()
pkg/iostreams/iostreams.go:300
MethodStartProgressIndicatorWithLabel
(s string)
internal/codespaces/codespaces_test.go:249
MethodStartRemoteServerAsync
StartRemoteServerAsync calls StartRemoteServerAsyncFunc.
internal/codespaces/rpc/ssh/ssh_server_host_service.v1.proto.mock.go:58
MethodStartRemoteServerAsync
(ctx context.Context, in *StartRemoteServerRequest, opts ...grpc.CallOption)
internal/codespaces/rpc/ssh/ssh_server_host_service.v1_grpc.pb.go:36
MethodStartRemoteServerAsync
(context.Context, *StartRemoteServerRequest)
internal/codespaces/rpc/ssh/ssh_server_host_service.v1_grpc.pb.go:49
MethodStartRemoteServerAsync
(context.Context, *StartRemoteServerRequest)
internal/codespaces/rpc/ssh/ssh_server_host_service.v1_grpc.pb.go:57
MethodStartRemoteServerAsyncCalls
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
MethodStartSSHServer
Starts a remote SSH server to allow the user to connect to the codespace via SSH
internal/codespaces/rpc/invoker.go:216
MethodStatus
()
api/queries_pr_review.go:94
MethodStatus
()
api/queries_comments.go:167
MethodStopCodespace
StopCodespace calls StopCodespaceFunc.
pkg/cmd/codespace/mock_api.go:959
MethodStopCodespace
(ctx context.Context, codespaceName string, orgName string, userName string)
internal/codespaces/api/api.go:619
MethodStopCodespaceCalls
StopCodespaceCalls gets all the calls that were made to StopCodespace. Check the length with: len(mockedapiClient.StopCodespaceCalls())
pkg/cmd/codespace/mock_api.go:984
MethodStopProgressIndicator
()
pkg/cmd/pr/shared/finder.go:35
MethodStopProgressIndicator
()
pkg/cmd/pr/shared/finder_test.go:1008
MethodStopProgressIndicator
()
internal/codespaces/codespaces_test.go:250
MethodString
()
script/ghmock/run.go:75
MethodString
()
git/objects.go:38
MethodString
()
pkg/cmdutil/flags.go:85
MethodString
()
pkg/cmdutil/flags.go:110
MethodString
()
pkg/cmdutil/flags.go:140
MethodString
()
pkg/cmdutil/flags.go:164
MethodString
()
pkg/surveyext/editor_test.go:266
MethodString
(cs *iostreams.ColorScheme)
pkg/cmd/auth/status/status.go:87
← previousnext →5,001–5,100 of 7,487, ranked by callers