Versions in this module Expand all Collapse all v0 v0.15.1 Mar 11, 2025 v0.15.0 Mar 5, 2025 Changes in this version type Client + func (c *Client) GetProjectJobArtifact(ctx context.Context, projectPath string, jobId int64, artifactPath string) (*bytes.Reader, error) v0.14.2 Feb 26, 2025 v0.14.1 Feb 24, 2025 v0.14.0 Feb 23, 2025 Changes in this version + func ConvertDeployment(deployment *GitLabDeployment) types.Deployment type Client + func (c *Client) GetProjectDeployments(ctx context.Context, projectId int64, opt GetProjectDeploymentsOptions) ([]*GitLabDeployment, error) + type GetProjectDeploymentsOptions struct + UpdatedAfter *time.Time + UpdatedBefore *time.Time + type GitLabDeployment struct + CreatedAt *time.Time + Deployable struct{ ... } + Environment ... + ID int + IID int + Ref string + SHA string + Status string + UpdatedAt *time.Time + User ... + type GitLabEnvironment struct + ID int + Name string + Project struct{ ... } + Tier string v0.13.2 Feb 16, 2025 v0.13.1 Feb 4, 2025 v0.13.0 Jan 20, 2025 v0.12.0 Jan 9, 2025 v0.11.0 Nov 18, 2024 v0.10.3 Nov 1, 2024 v0.10.2 Oct 30, 2024 v0.10.1 Oct 30, 2024 v0.10.0 Oct 30, 2024 Changes in this version + func ConvertTestReport(report *gitlab.PipelineTestReport, summary *PipelineTestReportSummary, ...) (types.TestReport, []types.TestSuite, []types.TestCase, error) + func FetchProjectPipelines(ctx context.Context, glab *_gitlab.Client, pid int64, ...) ([]*_gitlab.PipelineInfo, error) + func ListProjectMergeRequests(ctx context.Context, glab *_gitlab.Client, pid int64, ...) error + func ListProjectPipelines(ctx context.Context, glab *_gitlab.Client, pid int64, ...) error + type Client struct + func NewClient(url string, token string, rateLimit float64) (*Client, error) + func (c *Client) Client() *gitlab.Client + func (c *Client) GetJobLogData(ctx context.Context, projectId int64, jobId int64) (JobLogData, error) + func (c *Client) GetPipelineTestReport(ctx context.Context, projectID int64, pipelineID int64) (*gitlab.PipelineTestReport, *PipelineTestReportSummary, error) + func (c *Client) GetPipelineTestReportSummary(ctx context.Context, projectID int64, pipelineID int64) (*PipelineTestReportSummary, error) + func (c *Client) GetProject(ctx context.Context, pid interface{}) (*gitlab.Project, error) + func (c *Client) GetProjectPipeline(ctx context.Context, projectID int64, pipelineID int64) (*_gitlab.Pipeline, error) + func (c *Client) ListGroupProjects(ctx context.Context, gid interface{}, opt gitlab.ListGroupProjectsOptions, ...) error + func (c *Client) ListNamespaceProjects(ctx context.Context, nid interface{}, opt ListNamespaceProjectsOptions, ...) error + func (c *Client) ListUserProjects(ctx context.Context, uid interface{}, opt gitlab.ListProjectsOptions, ...) error + type JobLogData struct + Metrics []MetricData + Sections []SectionData + func ParseJobLog(trace *bytes.Reader) (JobLogData, error) + type ListNamespaceProjectsOptions struct + IncludeSubgroups *bool + Kind string + Visibility *string + WithShared *bool + type MetricData struct + Labels map[string]string + Name string + Timestamp int64 + Value float64 + type PipelineTestReportData struct + TestCases []types.TestCase + TestReport types.TestReport + TestSuites []types.TestSuite + type PipelineTestReportSummary struct + TestSuites []*PipelineTestReportSummaryTestSuite + Total *PipelineTestReportSummaryTotal + type PipelineTestReportSummaryTestSuite struct + BuildIDs []int + ErrorCount int + FailedCount int + Name string + SkippedCount int + SuccessCount int + SuiteError string + TotalCount int + TotalTime float64 + type PipelineTestReportSummaryTotal struct + Count int + Error int + Failed int + Skipped int + Success int + SuiteError string + Time float64 + type Project = gitlab.Project + type SectionData struct + End int64 + Name string + Start int64