Skip to content

kinta-lib / com.dailymotion.kinta.integration.github / GithubIntegration

GithubIntegration

object GithubIntegration

Types

Name Summary
BranchInfo data class BranchInfo
PullRequestInfo data class PullRequestInfo
Repository data class Repository

Functions

Name Summary
apolloClient fun apolloClient(token:String): ApolloClient
deleteRef fun deleteRef(token:String? = null, owner:String? = null, repo:String? = null, ref:String):Unit
getAllBranches fun getAllBranches(token:String? = null, owner:String? = null, repo:String? = null):List<String>
getBranchInfo For each branch in branches, get some info about the pull requests associated to itfun getBranchInfo(token:String? = null, owner:String? = null, repo:String? = null, branch:String): BranchInfo
openPullRequest fun openPullRequest(token:String? = null, owner:String? = null, repo:String? = null, head:String? = null, base:String? = null, title:String? = null):Unit
repoDetails fun repoDetails(uriIsh: URIish): Repository
repository fun repository(): Repository
retrieveToken fun retrieveToken():String