Versions in this module Expand all Collapse all v5 v5.0.0 Jul 19, 2024 Changes in this version + func CreateGitlabClient(ctx context.Context, host string) (clients.RepoClient, error) + func CreateGitlabClientWithToken(ctx context.Context, token, host string) (clients.RepoClient, error) + func CreateOssFuzzRepoClient(ctx context.Context, logger *log.Logger) (clients.RepoClient, error) + func MakeGitlabRepo(input string) (clients.Repo, error) + type Client struct + func (client *Client) Close() error + func (client *Client) GetBranch(branch string) (*clients.BranchRef, error) + func (client *Client) GetCreatedAt() (time.Time, error) + func (client *Client) GetDefaultBranch() (*clients.BranchRef, error) + func (client *Client) GetDefaultBranchName() (string, error) + func (client *Client) GetFileReader(filename string) (io.ReadCloser, error) + func (client *Client) GetOrgRepoClient(ctx context.Context) (clients.RepoClient, error) + func (client *Client) InitRepo(inputRepo clients.Repo, commitSHA string, commitDepth int) error + func (client *Client) IsArchived() (bool, error) + func (client *Client) ListCheckRunsForRef(ref string) ([]clients.CheckRun, error) + func (client *Client) ListCommits() ([]clients.Commit, error) + func (client *Client) ListContributors() ([]clients.User, error) + func (client *Client) ListFiles(predicate func(string) (bool, error)) ([]string, error) + func (client *Client) ListIssues() ([]clients.Issue, error) + func (client *Client) ListLicenses() ([]clients.License, error) + func (client *Client) ListProgrammingLanguages() ([]clients.Language, error) + func (client *Client) ListReleases() ([]clients.Release, error) + func (client *Client) ListStatuses(ref string) ([]clients.Status, error) + func (client *Client) ListSuccessfulWorkflowRuns(filename string) ([]clients.WorkflowRun, error) + func (client *Client) ListWebhooks() ([]clients.Webhook, error) + func (client *Client) LocalPath() (string, error) + func (client *Client) Search(request clients.SearchRequest) (clients.SearchResponse, error) + func (client *Client) SearchCommits(request clients.SearchCommitsOptions) ([]clients.Commit, error) + func (client *Client) URI() string + type GitlabGID struct + ID int + Type string + func (g *GitlabGID) UnmarshalJSON(data []byte) error + type Repo struct + func (r *Repo) AppendMetadata(metadata ...string) + func (r *Repo) Host() string + func (r *Repo) IsValid() error + func (r *Repo) Metadata() []string + func (r *Repo) Path() string + func (r *Repo) String() string + func (r *Repo) URI() string v5.0.0-rc2 May 7, 2024 v5.0.0-rc1 Apr 12, 2024 Other modules containing this package github.com/ossf/scorecard/v4