MCPcopy Create free account
hub / github.com/cli/cli / RESTWithNext

Method RESTWithNext

pkg/cmd/attestation/api/client.go:58–58  ·  view source on GitHub ↗
(hostname, method, p string, body io.Reader, data interface{})

Source from the content-addressed store, hash-verified

56type githubApiClient interface {
57 REST(hostname, method, p string, body io.Reader, data interface{}) error
58 RESTWithNext(hostname, method, p string, body io.Reader, data interface{}) (string, error)
59}
60
61// httpClient makes HTTP calls to all non-GitHub API endpoints

Callers 13

GetCachesFunction · 0.65
getAttestationsMethod · 0.65
getVariablesFunction · 0.65
LoadNotificationsMethod · 0.65
LoadEventsMethod · 0.65
getSecretsFunction · 0.65
ListArtifactsFunction · 0.65
GetRunsFunction · 0.65
GetJobsFunction · 0.65
TestRESTWithNextErrorFunction · 0.65
TestRESTWithNextFunction · 0.65

Implementers 2

mockAPIClientpkg/cmd/attestation/api/mock_githubApi
Clientapi/client.go

Calls

no outgoing calls

Tested by 4

TestRESTWithNextErrorFunction · 0.52
TestRESTWithNextFunction · 0.52