gitlab

package
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package gitlab provides the GitLab CI plugin for TerraCi. It registers a pipeline generator and MR comment service.

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultStagesPrefix = gitlabci.DefaultStagesPrefix
	SummaryJobName      = gitlabci.SummaryJobName
	SummaryStageName    = gitlabci.SummaryStageName
	WhenManual          = gitlabci.WhenManual
	OverwriteTypePlan   = gitlabci.OverwriteTypePlan
	OverwriteTypeApply  = gitlabci.OverwriteTypeApply
)

Re-export constants from internal package.

View Source
var (
	NewGenerator        = gitlabci.NewGenerator
	NewClient           = gitlabci.NewClient
	NewClientFromEnv    = gitlabci.NewClientFromEnv
	DetectMRContext     = gitlabci.DetectMRContext
	NewMRService        = gitlabci.NewMRService
	NewMRServiceFromEnv = gitlabci.NewMRServiceFromEnv
	FindTerraCIComment  = gitlabci.FindTerraCIComment
)

Re-export functions from internal package.

Functions

This section is empty.

Types

type ArtifactReports

type ArtifactReports = gitlabci.ArtifactReports

Re-export types from internal package for external consumers.

type Artifacts

type Artifacts = gitlabci.Artifacts

Re-export types from internal package for external consumers.

type ArtifactsConfig

type ArtifactsConfig = gitlabci.ArtifactsConfig

Re-export types from internal package for external consumers.

type Cache

type Cache = gitlabci.Cache

Re-export types from internal package for external consumers.

type CfgSecret

type CfgSecret = gitlabci.CfgSecret

Re-export types from internal package for external consumers.

type CfgVaultSecret

type CfgVaultSecret = gitlabci.CfgVaultSecret

Re-export types from internal package for external consumers.

type Client

type Client = gitlabci.Client

Re-export types from internal package for external consumers.

type Config

type Config = gitlabci.Config

Re-export types from internal package for external consumers.

type DefaultConfig

type DefaultConfig = gitlabci.DefaultConfig

Re-export types from internal package for external consumers.

type Generator

type Generator = gitlabci.Generator

Re-export types from internal package for external consumers.

type IDToken

type IDToken = gitlabci.IDToken

Re-export types from internal package for external consumers.

type Image

type Image = gitlabci.Image

Re-export types from internal package for external consumers.

type ImageConfig

type ImageConfig = gitlabci.ImageConfig

Re-export types from internal package for external consumers.

type Job

type Job = gitlabci.Job

Re-export types from internal package for external consumers.

type JobConfig

type JobConfig = gitlabci.JobConfig

Re-export types from internal package for external consumers.

type JobDefaults

type JobDefaults = gitlabci.JobDefaults

Re-export types from internal package for external consumers.

type JobNeed

type JobNeed = gitlabci.JobNeed

Re-export types from internal package for external consumers.

type JobOverwrite

type JobOverwrite = gitlabci.JobOverwrite

Re-export types from internal package for external consumers.

type JobOverwriteType

type JobOverwriteType = gitlabci.JobOverwriteType

Re-export types from internal package for external consumers.

type MRCommentConfig

type MRCommentConfig = gitlabci.MRCommentConfig

Re-export types from internal package for external consumers.

type MRConfig

type MRConfig = gitlabci.MRConfig

Re-export types from internal package for external consumers.

type MRContext

type MRContext = gitlabci.MRContext

Re-export types from internal package for external consumers.

type MRService

type MRService = gitlabci.MRService

Re-export types from internal package for external consumers.

type Pipeline

type Pipeline = gitlabci.Pipeline

Re-export types from internal package for external consumers.

type Plugin

type Plugin struct {
	// contains filtered or unexported fields
}

Plugin is the GitLab CI plugin.

func (*Plugin) BuildInitConfig

func (p *Plugin) BuildInitConfig(state plugin.InitState) *plugin.InitContribution

func (*Plugin) ConfigKey

func (p *Plugin) ConfigKey() string

func (*Plugin) Description

func (p *Plugin) Description() string

func (*Plugin) DetectEnv

func (p *Plugin) DetectEnv() bool

func (*Plugin) InitGroup

func (p *Plugin) InitGroup() *plugin.InitGroupSpec

func (*Plugin) Initialize

func (p *Plugin) Initialize(_ context.Context, _ *plugin.AppContext) error

func (*Plugin) IsConfigured

func (p *Plugin) IsConfigured() bool

func (*Plugin) Name

func (p *Plugin) Name() string

func (*Plugin) NewCommentService

func (p *Plugin) NewCommentService(_ *plugin.AppContext) ci.CommentService

func (*Plugin) NewConfig

func (p *Plugin) NewConfig() any

func (*Plugin) NewGenerator

func (p *Plugin) NewGenerator(_ *plugin.AppContext, depGraph *graph.DependencyGraph, modules []*discovery.Module) pipeline.Generator

func (*Plugin) ProviderName

func (p *Plugin) ProviderName() string

func (*Plugin) SetConfig

func (p *Plugin) SetConfig(cfg any) error

type Reports

type Reports = gitlabci.Reports

Re-export types from internal package for external consumers.

type Rule

type Rule = gitlabci.Rule

Re-export types from internal package for external consumers.

type Secret

type Secret = gitlabci.Secret

Re-export types from internal package for external consumers.

type SummaryJobConfig

type SummaryJobConfig = gitlabci.SummaryJobConfig

Re-export types from internal package for external consumers.

type VaultEngine

type VaultEngine = gitlabci.VaultEngine

Re-export types from internal package for external consumers.

type VaultSecret

type VaultSecret = gitlabci.VaultSecret

Re-export types from internal package for external consumers.

type Workflow

type Workflow = gitlabci.Workflow

Re-export types from internal package for external consumers.

Directories

Path Synopsis
Package gitlabci provides GitLab API client for MR integration
Package gitlabci provides GitLab API client for MR integration

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL