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
763563f4
ROOT
/
clients
/
gitlabrepo
/
client.go
Search
History
299 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
tarball
:
*tarballHandler
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)
DetectGitLab
(repoURI string)
:
bool
*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)
GetOrgRepoClient
(ctx context.Context)
:
(clients.RepoClient, 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