crash.software
Projects
Pull Requests
Issues
Builds
scorecard
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
scorecard
Files
🤬
Sign In
61866a06
ROOT
/
clients
/
gitlabrepo
/
client.go
Search
History
279 lines
|
ISO-8859-1
|
7 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
_
:
clients.RepoClient
errInputRepoType
Client
repourl
:
*repoURL
repo
:
*gitlab.Project
glClient
:
*gitlab.Client
contributors
:
*contributorsHandler
branches
:
*branchesHandler
releases
:
*releasesHandler
workflows
:
*workflowsHandler
checkruns
:
*checkrunsHandler
commits
:
*commitsHandler
issues
:
*issuesHandler
project
:
*projectHandler
statuses
:
*statusesHandler
search
:
*searchHandler
searchCommits
:
*searchCommitsHandler
webhook
:
*webhookHandler
languages
:
*languagesHandler
licenses
:
*licensesHandler
ctx
:
context.Context
commitDepth
:
int
CreateGitlabClientWithToken
(ctx context.Context, token string, repo clients.Repo)
:
(clients.RepoClient, error)
CreateOssFuzzRepoClient
(ctx context.Context, logger *log.Logger)
:
(clients.RepoClient, error)
*Client
InitRepo
(inputRepo clients.Repo, commitSHA string, commitDepth int)
:
error
URI
()
:
string
LocalPath
()
:
(string, error)
ListFiles
(predicate func(string) (bool, error))
:
([]string, error)
GetFileContent
(filename string)
:
([]byte, error)
ListCommits
()
:
([]clients.Commit, error)
ListIssues
()
:
([]clients.Issue, error)
ListReleases
()
:
([]clients.Release, error)
ListContributors
()
:
([]clients.User, error)
IsArchived
()
:
(bool, error)
GetDefaultBranch
()
:
(*clients.BranchRef, error)
GetDefaultBranchName
()
:
(string, error)
GetBranch
(branch string)
:
(*clients.BranchRef, error)
GetCreatedAt
()
:
(time.Time, error)
ListWebhooks
()
:
([]clients.Webhook, error)
ListSuccessfulWorkflowRuns
(filename string)
:
([]clients.WorkflowRun, error)
ListCheckRunsForRef
(ref string)
:
([]clients.CheckRun, error)
ListStatuses
(ref string)
:
([]clients.Status, error)
ListProgrammingLanguages
()
:
([]clients.Language, error)
ListLicenses
()
:
([]clients.License, error)
Search
(request clients.SearchRequest)
:
(clients.SearchResponse, error)
SearchCommits
(request clients.SearchCommitsOptions)
:
([]clients.Commit, error)
Close
()
:
error
All occurrences
Please wait...
Page is in error, reload to recover