MCPcopy Create free account

hub / github.com/cli/cli / functions

Functions7,487 in github.com/cli/cli

MethodExportData
(fields []string)
pkg/cmd/label/shared.go:31
MethodExportData
ExportData returns the requested fields for --json output. Fields the API returned as null stay null.
pkg/cmd/issue/artifact/client/types.go:104
MethodExportData
ExportData returns the requested fields for --json output, where versions is the edit history, newest first. Fields the API returned as null stay null
pkg/cmd/issue/artifact/client/types.go:140
MethodExportData
ExportData implements the cmdutil exportable interface for a single entry.
pkg/cmd/repo/read-dir/http.go:63
MethodExportData
ExportData implements the cmdutil exportable interface for the directory. gitSHA and id are structural and always present; the requested fields selec
pkg/cmd/repo/read-dir/http.go:106
MethodExportData
(fields []string)
pkg/cmd/repo/autolink/shared/autolink.go:19
MethodExportData
(fields []string)
pkg/cmd/variable/shared/shared.go:48
MethodExportData
ExportData implements cmdutil.exportable for --json output.
pkg/cmd/skills/search/search.go:186
MethodExportData
ExportData implements cmdutil.exportable for --json output.
pkg/cmd/skills/list/list.go:85
MethodExportData
(fields []string)
pkg/cmd/secret/list/list.go:231
MethodExportData
(fields []string)
pkg/cmd/run/shared/shared.go:164
MethodExportData
ExportData returns the selected fields of the subscription for --json output.
pkg/cmd/event/client/types.go:33
MethodExportData
(fields []string)
pkg/cmd/pr/checks/aggregate.go:32
MethodExportData
(fields []string)
pkg/cmd/codespace/ports.go:154
MethodExportData
(fields []string)
pkg/cmd/workflow/shared/shared.go:54
MethodExportData
(fields []string)
api/export_repo.go:7
MethodExternalHTTPClient
()
pkg/cmd/codespace/common.go:86
MethodExternalHTTPClient
ExternalHTTPClient calls ExternalHTTPClientFunc.
pkg/cmd/codespace/mock_api.go:429
MethodExternalHTTPClient
()
internal/codespaces/codespaces_test.go:243
MethodExternalHTTPClient
ExternalHTTPClient returns an HTTP client for requests to non-GitHub hosts. It must not carry GitHub authentication credentials.
internal/codespaces/api/api.go:1315
MethodExternalHTTPClientCalls
ExternalHTTPClientCalls gets all the calls that were made to ExternalHTTPClient. Check the length with: len(mockedapiClient.ExternalHTTPClientCalls(
pkg/cmd/codespace/mock_api.go:445
MethodFd
()
pkg/iostreams/iostreams.go:40
MethodFd
()
pkg/iostreams/iostreams.go:634
MethodFd
()
pkg/iostreams/iostreams.go:644
MethodFd
()
pkg/iostreams/iostreams.go:654
MethodFetch
(string, string)
pkg/cmd/repo/sync/git.go:14
MethodFetch
(remote, ref string)
pkg/cmd/repo/sync/git.go:63
MethodFetch
(a, b string)
pkg/cmd/repo/sync/mocks.go:32
MethodFetch
(remote string, refspec string)
pkg/cmd/extension/git.go:44
MethodFetch
(remote string, refspec string)
pkg/cmd/extension/mocks.go:32
MethodFields
()
pkg/cmdutil/json_flags.go:214
MethodFields
()
pkg/cmd/cache/list/list_test.go:356
MethodFields
()
pkg/cmd/repo/view/view_test.go:746
MethodFields
()
pkg/cmd/run/shared/test.go:286
MethodFieldsToEdit
(e *shared.Editable)
pkg/cmd/pr/edit/edit_test.go:1950
MethodFieldsToEdit
(editable *shared.Editable)
pkg/cmd/pr/edit/edit.go:595
FunctionFind
()
pkg/findsh/find_windows.go:10
MethodFind
(opts FindOptions)
pkg/cmd/pr/shared/finder.go:646
MethodFind
(opts shared.FindOptions)
pkg/cmd/pr/edit/edit_test.go:1723
MethodFinish
Finish snapshots the recorded events once and sends their payload after releasing the lock. Sampling and telemetry eligibility apply to immediate and
internal/telemetry/telemetry.go:321
MethodFollow
Follow continuously fetches logs using the provided fetcher function and renders them to the provided writer. It stops when Render indicates to stop.
pkg/cmd/agent-task/shared/log.go:31
MethodFollow
Follow calls FollowFunc.
pkg/cmd/agent-task/shared/log_mock.go:67
MethodFollowCalls
FollowCalls gets all the calls that were made to Follow. Check the length with: len(mockedLogRenderer.FollowCalls())
pkg/cmd/agent-task/shared/log_mock.go:90
MethodForRepo
(repoDir string)
pkg/cmd/extension/git.go:48
MethodForRepo
(repoDir string)
pkg/cmd/extension/mocks.go:37
FunctionFormat
(version, buildDate string)
pkg/cmd/version/version.go:28
MethodForwardPort
(ctx context.Context, port uint16)
internal/codespaces/connection/tunnels_api_server_mock.go:298
MethodForwardPortToListener
ForwardPortToListener forwards the specified port to the given TCP listener.
internal/codespaces/portforwarder/port_forwarder.go:64
MethodGet
Get calls GetFunc.
pkg/cmd/issue/artifact/client/client_mock.go:240
MethodGet
(repo ghrepo.Interface, issueNumber int, number int)
pkg/cmd/issue/artifact/client/client.go:127
MethodGet
(url string)
pkg/cmd/attestation/api/mock_httpClient_test.go:19
MethodGet
(url string)
pkg/cmd/attestation/api/mock_httpClient_test.go:35
MethodGet
(url string)
pkg/cmd/attestation/api/mock_httpClient_test.go:51
MethodGet
(url string)
pkg/cmd/attestation/api/mock_httpClient_test.go:68
MethodGet
(repoFullName string)
pkg/cmd/extension/browse/rg.go:23
MethodGet
(fullName string)
pkg/cmd/extension/browse/model_test.go:908
MethodGet
(alias string)
internal/config/config.go:754
MethodGetApp
()
internal/barista/observability/telemetry.pb.go:69
MethodGetAttestations
(name name.Reference, digest string)
pkg/cmd/attestation/artifact/oci/mock_client.go:25
MethodGetAttestations
(name name.Reference, digest string)
pkg/cmd/attestation/artifact/oci/mock_client.go:37
MethodGetAttestations
(name name.Reference, digest string)
pkg/cmd/attestation/artifact/oci/mock_client.go:47
MethodGetAttestations
(name name.Reference, digest string)
pkg/cmd/attestation/artifact/oci/mock_client.go:57
MethodGetAttestations
(name name.Reference, digest string)
pkg/cmd/attestation/artifact/oci/mock_client.go:70
MethodGetAttestations
(name name.Reference, digest string)
pkg/cmd/attestation/artifact/oci/mock_client.go:83
MethodGetAttestations
(ref name.Reference, digest string)
pkg/cmd/attestation/artifact/oci/client.go:70
MethodGetByDigest
(params FetchParams)
pkg/cmd/attestation/api/mock_client.go:30
MethodGetByNumber
GetByNumber calls GetByNumberFunc.
pkg/cmd/discussion/client/client_mock.go:368
MethodGetByNumber
(repo ghrepo.Interface, number int32)
pkg/cmd/discussion/client/client.go:401
MethodGetByNumberCalls
GetByNumberCalls gets all the calls that were made to GetByNumber. Check the length with: len(mockedDiscussionClient.GetByNumberCalls())
pkg/cmd/discussion/client/client_mock.go:389
MethodGetCalls
GetCalls gets all the calls that were made to Get. Check the length with: len(mockedArtifactClient.GetCalls())
pkg/cmd/issue/artifact/client/client_mock.go:263
MethodGetClientId
()
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:64
MethodGetCodespace
(ctx context.Context, name string, includeConnection bool)
pkg/cmd/codespace/common.go:71
MethodGetCodespace
GetCodespace calls GetCodespaceFunc.
pkg/cmd/codespace/mock_api.go:456
MethodGetCodespace
(ctx context.Context, name string, includeConnection bool)
internal/codespaces/codespaces_test.go:235
MethodGetCodespaceBillableOwner
GetCodespaceBillableOwner calls GetCodespaceBillableOwnerFunc.
pkg/cmd/codespace/mock_api.go:496
MethodGetCodespaceBillableOwner
GetCodespaceBillableOwner returns the billable owner and expected default values for codespaces created by the user for a given repository.
internal/codespaces/api/api.go:828
MethodGetCodespaceBillableOwnerCalls
GetCodespaceBillableOwnerCalls gets all the calls that were made to GetCodespaceBillableOwner. Check the length with: len(mockedapiClient.GetCodespa
pkg/cmd/codespace/mock_api.go:517
MethodGetCodespaceCalls
GetCodespaceCalls gets all the calls that were made to GetCodespace. Check the length with: len(mockedapiClient.GetCodespaceCalls())
pkg/cmd/codespace/mock_api.go:479
MethodGetCodespaceRepoSuggestions
GetCodespaceRepoSuggestions calls GetCodespaceRepoSuggestionsFunc.
pkg/cmd/codespace/mock_api.go:532
MethodGetCodespaceRepoSuggestionsCalls
GetCodespaceRepoSuggestionsCalls gets all the calls that were made to GetCodespaceRepoSuggestions. Check the length with: len(mockedapiClient.GetCod
pkg/cmd/codespace/mock_api.go:555
MethodGetCodespaceRepositoryContents
GetCodespaceRepositoryContents calls GetCodespaceRepositoryContentsFunc.
pkg/cmd/codespace/mock_api.go:572
MethodGetCodespaceRepositoryContents
(ctx context.Context, codespace *Codespace, path string)
internal/codespaces/api/api.go:1227
MethodGetCodespaceRepositoryContentsCalls
GetCodespaceRepositoryContentsCalls gets all the calls that were made to GetCodespaceRepositoryContents. Check the length with: len(mockedapiClient.
pkg/cmd/codespace/mock_api.go:595
MethodGetCodespacesMachines
GetCodespacesMachines calls GetCodespacesMachinesFunc.
pkg/cmd/codespace/mock_api.go:612
MethodGetCodespacesMachines
GetCodespacesMachines returns the codespaces machines for the given repo, branch and location.
internal/codespaces/api/api.go:661
MethodGetCodespacesMachinesCalls
GetCodespacesMachinesCalls gets all the calls that were made to GetCodespacesMachines. Check the length with: len(mockedapiClient.GetCodespacesMachi
pkg/cmd/codespace/mock_api.go:639
MethodGetCodespacesPermissionsCheck
GetCodespacesPermissionsCheck calls GetCodespacesPermissionsCheckFunc.
pkg/cmd/codespace/mock_api.go:660
MethodGetCodespacesPermissionsCheck
GetCodespacesPermissionsCheck returns a bool indicating whether the user has accepted permissions for the given repo and devcontainer path.
internal/codespaces/api/api.go:704
MethodGetCodespacesPermissionsCheckCalls
GetCodespacesPermissionsCheckCalls gets all the calls that were made to GetCodespacesPermissionsCheck. Check the length with: len(mockedapiClient.Ge
pkg/cmd/codespace/mock_api.go:685
MethodGetComment
GetComment calls GetCommentFunc.
pkg/cmd/discussion/client/client_mock.go:404
MethodGetComment
GetComment fetches a single discussion comment by node ID.
pkg/cmd/discussion/client/client.go:1230
MethodGetCommentCalls
GetCommentCalls gets all the calls that were made to GetComment. Check the length with: len(mockedDiscussionClient.GetCommentCalls())
pkg/cmd/discussion/client/client_mock.go:425
MethodGetCommentReplies
GetCommentReplies calls GetCommentRepliesFunc.
pkg/cmd/discussion/client/client_mock.go:440
MethodGetCommentReplies
GetCommentReplies fetches a single comment with its paginated replies, along with its parent discussion. It uses the top-level node(id:) query because
pkg/cmd/discussion/client/client.go:643
MethodGetCommentRepliesCalls
GetCommentRepliesCalls gets all the calls that were made to GetCommentReplies. Check the length with: len(mockedDiscussionClient.GetCommentRepliesCa
pkg/cmd/discussion/client/client_mock.go:467
MethodGetDimensions
()
internal/barista/observability/telemetry.pb.go:83
MethodGetEventType
()
internal/barista/observability/telemetry.pb.go:76
MethodGetEvents
()
internal/barista/observability/telemetry.pb.go:136
MethodGetImageDigest
(imgName string)
pkg/cmd/attestation/artifact/oci/mock_client.go:18
MethodGetImageDigest
(imgName string)
pkg/cmd/attestation/artifact/oci/mock_client.go:33
← previousnext →4,401–4,500 of 7,487, ranked by callers