ui/client/features/clone/services/GithubApi
Cockpit client (features), next. Source: ui/client/features/clone/services/GithubApi.ts.
Functions#
disconnectGithub()#
disconnectGithub():
Promise<GithubStatusResult>
Defined in: ui/client/features/clone/services/GithubApi.ts:41
Disconnect: the server zeroes the token at once and asks GitHub to revoke it.
Returns#
Promise<GithubStatusResult>
readGithubRepos()#
readGithubRepos(
__namedParameters?):Promise<GithubReposResult>
Defined in: ui/client/features/clone/services/GithubApi.ts:23
The repositories the connection can read (names and visibility only), one page, optionally narrowed by q.
Parameters#
__namedParameters?
page?
number = 1
perPage?
number = 30
q?
string = ''
Returns#
Promise<GithubReposResult>
readGithubStatus()#
readGithubStatus():
Promise<GithubStatusResult>
Defined in: ui/client/features/clone/services/GithubApi.ts:13
Returns#
Promise<GithubStatusResult>