Versions in this module Expand all Collapse all v0 v0.9.0 Feb 22, 2026 v0.8.0 Feb 15, 2026 Changes in this version + const AuthTypeAppOAuth + const AuthTypePersonalAccessToken + const OAuthAccessToken + const OAuthRefreshToken + const PipelineFailedOutputChannel + const PipelinePassedOutputChannel + const PipelinePayloadType + const PipelineStatusBlocked + const PipelineStatusCanceled + const PipelineStatusCancelled + const PipelineStatusFailed + const PipelineStatusManual + const PipelineStatusSkipped + const PipelineStatusSuccess + const ResourceTypeMember + const ResourceTypeMilestone + const ResourceTypeProject + const RunPipelineKVPipelineID + const RunPipelinePollAction + const RunPipelinePollInterval + func ListMembers(ctx core.ListResourcesContext) ([]core.IntegrationResource, error) + func ListMilestones(ctx core.ListResourcesContext) ([]core.IntegrationResource, error) + func ListProjects(ctx core.ListResourcesContext) ([]core.IntegrationResource, error) + type Auth struct + func NewAuth(client core.HTTPContext) *Auth + func (a *Auth) HandleCallback(req *http.Request, config *Configuration, expectedState, redirectURI string) (*TokenResponse, error) + func (a *Auth) RefreshToken(baseURL, clientID, clientSecret, refreshToken string) (*TokenResponse, error) + type Client struct + func NewClient(httpClient core.HTTPContext, ctx core.IntegrationContext) (*Client, error) + func (c *Client) CancelPipeline(ctx context.Context, projectID string, pipelineID int) error + func (c *Client) CreateIssue(ctx context.Context, projectID string, req *IssueRequest) (*Issue, error) + func (c *Client) CreatePipeline(ctx context.Context, projectID string, req *CreatePipelineRequest) (*Pipeline, error) + func (c *Client) FetchIntegrationData() (*User, []Project, error) + func (c *Client) GetLatestPipeline(projectID, ref string) (*Pipeline, error) + func (c *Client) GetPipeline(projectID string, pipelineID int) (*Pipeline, error) + func (c *Client) GetPipelineTestReportSummary(projectID string, pipelineID int) (*PipelineTestReportSummary, error) + func (c *Client) ListGroupMembers(groupID string) ([]User, error) + func (c *Client) ListMilestones(projectID string) ([]Milestone, error) + func (c *Client) ListPipelines(projectID string) ([]Pipeline, error) + type Configuration struct + AccessToken string + AuthType string + BaseURL string + ClientID string + ClientSecret string + GroupID string + type CreateIssue struct + func (c *CreateIssue) Actions() []core.Action + func (c *CreateIssue) Cancel(ctx core.ExecutionContext) error + func (c *CreateIssue) Cleanup(ctx core.SetupContext) error + func (c *CreateIssue) Color() string + func (c *CreateIssue) Configuration() []configuration.Field + func (c *CreateIssue) Description() string + func (c *CreateIssue) Documentation() string + func (c *CreateIssue) ExampleOutput() map[string]any + func (c *CreateIssue) Execute(ctx core.ExecutionContext) error + func (c *CreateIssue) HandleAction(ctx core.ActionContext) error + func (c *CreateIssue) HandleWebhook(ctx core.WebhookRequestContext) (int, error) + func (c *CreateIssue) Icon() string + func (c *CreateIssue) Label() string + func (c *CreateIssue) Name() string + func (c *CreateIssue) OutputChannels(configuration any) []core.OutputChannel + func (c *CreateIssue) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error) + func (c *CreateIssue) Setup(ctx core.SetupContext) error + type CreateIssueConfiguration struct + Assignees []string + Body string + DueDate string + Labels []string + Milestone string + Project string + Title string + type CreatePipelineRequest struct + Inputs map[string]string + Ref string + type GetLatestPipeline struct + func (c *GetLatestPipeline) Actions() []core.Action + func (c *GetLatestPipeline) Cancel(ctx core.ExecutionContext) error + func (c *GetLatestPipeline) Cleanup(ctx core.SetupContext) error + func (c *GetLatestPipeline) Color() string + func (c *GetLatestPipeline) Configuration() []configuration.Field + func (c *GetLatestPipeline) Description() string + func (c *GetLatestPipeline) Documentation() string + func (c *GetLatestPipeline) ExampleOutput() map[string]any + func (c *GetLatestPipeline) Execute(ctx core.ExecutionContext) error + func (c *GetLatestPipeline) HandleAction(ctx core.ActionContext) error + func (c *GetLatestPipeline) HandleWebhook(ctx core.WebhookRequestContext) (int, error) + func (c *GetLatestPipeline) Icon() string + func (c *GetLatestPipeline) Label() string + func (c *GetLatestPipeline) Name() string + func (c *GetLatestPipeline) OutputChannels(configuration any) []core.OutputChannel + func (c *GetLatestPipeline) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error) + func (c *GetLatestPipeline) Setup(ctx core.SetupContext) error + type GetLatestPipelineConfiguration struct + Project string + Ref string + type GetPipeline struct + func (c *GetPipeline) Actions() []core.Action + func (c *GetPipeline) Cancel(ctx core.ExecutionContext) error + func (c *GetPipeline) Cleanup(ctx core.SetupContext) error + func (c *GetPipeline) Color() string + func (c *GetPipeline) Configuration() []configuration.Field + func (c *GetPipeline) Description() string + func (c *GetPipeline) Documentation() string + func (c *GetPipeline) ExampleOutput() map[string]any + func (c *GetPipeline) Execute(ctx core.ExecutionContext) error + func (c *GetPipeline) HandleAction(ctx core.ActionContext) error + func (c *GetPipeline) HandleWebhook(ctx core.WebhookRequestContext) (int, error) + func (c *GetPipeline) Icon() string + func (c *GetPipeline) Label() string + func (c *GetPipeline) Name() string + func (c *GetPipeline) OutputChannels(configuration any) []core.OutputChannel + func (c *GetPipeline) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error) + func (c *GetPipeline) Setup(ctx core.SetupContext) error + type GetPipelineConfiguration struct + Pipeline string + Project string + type GetTestReportSummary struct + func (c *GetTestReportSummary) Actions() []core.Action + func (c *GetTestReportSummary) Cancel(ctx core.ExecutionContext) error + func (c *GetTestReportSummary) Cleanup(ctx core.SetupContext) error + func (c *GetTestReportSummary) Color() string + func (c *GetTestReportSummary) Configuration() []configuration.Field + func (c *GetTestReportSummary) Description() string + func (c *GetTestReportSummary) Documentation() string + func (c *GetTestReportSummary) ExampleOutput() map[string]any + func (c *GetTestReportSummary) Execute(ctx core.ExecutionContext) error + func (c *GetTestReportSummary) HandleAction(ctx core.ActionContext) error + func (c *GetTestReportSummary) HandleWebhook(ctx core.WebhookRequestContext) (int, error) + func (c *GetTestReportSummary) Icon() string + func (c *GetTestReportSummary) Label() string + func (c *GetTestReportSummary) Name() string + func (c *GetTestReportSummary) OutputChannels(configuration any) []core.OutputChannel + func (c *GetTestReportSummary) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error) + func (c *GetTestReportSummary) Setup(ctx core.SetupContext) error + type GetTestReportSummaryConfiguration struct + Pipeline string + Project string + type GitLab struct + func (g *GitLab) Actions() []core.Action + func (g *GitLab) Cleanup(ctx core.IntegrationCleanupContext) error + func (g *GitLab) Components() []core.Component + func (g *GitLab) Configuration() []configuration.Field + func (g *GitLab) Description() string + func (g *GitLab) HandleAction(ctx core.IntegrationActionContext) error + func (g *GitLab) HandleRequest(ctx core.HTTPRequestContext) + func (g *GitLab) Icon() string + func (g *GitLab) Instructions() string + func (g *GitLab) Label() string + func (g *GitLab) ListResources(resourceType string, ctx core.ListResourcesContext) ([]core.IntegrationResource, error) + func (g *GitLab) Name() string + func (g *GitLab) Sync(ctx core.SyncContext) error + func (g *GitLab) Triggers() []core.Trigger + type GitLabWebhookHandler struct + func (h *GitLabWebhookHandler) Cleanup(ctx core.WebhookHandlerContext) error + func (h *GitLabWebhookHandler) CompareConfig(a, b any) (bool, error) + func (h *GitLabWebhookHandler) Merge(current, requested any) (any, bool, error) + func (h *GitLabWebhookHandler) Setup(ctx core.WebhookHandlerContext) (any, error) + type Hook struct + ConfidentialIssuesEvents bool + DeploymentEvents bool + ID int + IssuesEvents bool + MergeRequestsEvents bool + MilestoneEvents bool + NoteEvents bool + PipelineEvents bool + ProjectID int + PushEvents bool + ReleasesEvents bool + TagPushEvents bool + URL string + VulnerabilityEvents bool + WikiPageEvents bool + type HookEvents struct + ConfidentialIssuesEvents bool + DeploymentEvents bool + IssuesEvents bool + MergeRequestsEvents bool + MilestoneEvents bool + NoteEvents bool + PipelineEvents bool + PushEvents bool + ReleasesEvents bool + TagPushEvents bool + VulnerabilityEvents bool + WikiPageEvents bool + type HooksClient struct + func NewHooksClient(httpClient core.HTTPContext, ctx core.IntegrationContext) (*HooksClient, error) + func (c *HooksClient) CreateHook(projectID string, webhookURL string, secret string, events HookEvents) (*Hook, error) + func (c *HooksClient) DeleteHook(projectID string, hookID int) error + type Issue struct + Assignees []User + Author User + ClosedAt *string + ClosedBy *User + CreatedAt string + Description string + DueDate *string + ID int + IID int + Labels []string + Milestone *Milestone + ProjectID int + State string + Title string + UpdatedAt string + WebURL string + type IssueRequest struct + AssigneeIDs []int + Description string + DueDate string + Labels string + MilestoneID *int + Title string + type Metadata struct + Projects []ProjectMetadata + State *string + User *UserMetadata + type Milestone struct + ID int + IID int + State string + Title string + type NodeMetadata struct + Project *ProjectMetadata + type OnIssue struct + func (i *OnIssue) Actions() []core.Action + func (i *OnIssue) Cleanup(ctx core.TriggerContext) error + func (i *OnIssue) Color() string + func (i *OnIssue) Configuration() []configuration.Field + func (i *OnIssue) Description() string + func (i *OnIssue) Documentation() string + func (i *OnIssue) ExampleData() map[string]any + func (i *OnIssue) HandleAction(ctx core.TriggerActionContext) (map[string]any, error) + func (i *OnIssue) HandleWebhook(ctx core.WebhookRequestContext) (int, error) + func (i *OnIssue) Icon() string + func (i *OnIssue) Label() string + func (i *OnIssue) Name() string + func (i *OnIssue) Setup(ctx core.TriggerContext) error + type OnIssueConfiguration struct + Actions []string + Labels []configuration.Predicate + Project string + type OnMergeRequest struct + func (m *OnMergeRequest) Actions() []core.Action + func (m *OnMergeRequest) Cleanup(ctx core.TriggerContext) error + func (m *OnMergeRequest) Color() string + func (m *OnMergeRequest) Configuration() []configuration.Field + func (m *OnMergeRequest) Description() string + func (m *OnMergeRequest) Documentation() string + func (m *OnMergeRequest) ExampleData() map[string]any + func (m *OnMergeRequest) HandleAction(ctx core.TriggerActionContext) (map[string]any, error) + func (m *OnMergeRequest) HandleWebhook(ctx core.WebhookRequestContext) (int, error) + func (m *OnMergeRequest) Icon() string + func (m *OnMergeRequest) Label() string + func (m *OnMergeRequest) Name() string + func (m *OnMergeRequest) Setup(ctx core.TriggerContext) error + type OnMergeRequestConfiguration struct + Actions []string + Project string + type OnMilestone struct + func (m *OnMilestone) Actions() []core.Action + func (m *OnMilestone) Cleanup(ctx core.TriggerContext) error + func (m *OnMilestone) Color() string + func (m *OnMilestone) Configuration() []configuration.Field + func (m *OnMilestone) Description() string + func (m *OnMilestone) Documentation() string + func (m *OnMilestone) ExampleData() map[string]any + func (m *OnMilestone) HandleAction(ctx core.TriggerActionContext) (map[string]any, error) + func (m *OnMilestone) HandleWebhook(ctx core.WebhookRequestContext) (int, error) + func (m *OnMilestone) Icon() string + func (m *OnMilestone) Label() string + func (m *OnMilestone) Name() string + func (m *OnMilestone) Setup(ctx core.TriggerContext) error + type OnMilestoneConfiguration struct + Actions []string + Project string + type OnPipeline struct + func (p *OnPipeline) Actions() []core.Action + func (p *OnPipeline) Cleanup(ctx core.TriggerContext) error + func (p *OnPipeline) Color() string + func (p *OnPipeline) Configuration() []configuration.Field + func (p *OnPipeline) Description() string + func (p *OnPipeline) Documentation() string + func (p *OnPipeline) ExampleData() map[string]any + func (p *OnPipeline) HandleAction(ctx core.TriggerActionContext) (map[string]any, error) + func (p *OnPipeline) HandleWebhook(ctx core.WebhookRequestContext) (int, error) + func (p *OnPipeline) Icon() string + func (p *OnPipeline) Label() string + func (p *OnPipeline) Name() string + func (p *OnPipeline) Setup(ctx core.TriggerContext) error + type OnPipelineConfiguration struct + Project string + Statuses []string + type OnRelease struct + func (r *OnRelease) Actions() []core.Action + func (r *OnRelease) Cleanup(ctx core.TriggerContext) error + func (r *OnRelease) Color() string + func (r *OnRelease) Configuration() []configuration.Field + func (r *OnRelease) Description() string + func (r *OnRelease) Documentation() string + func (r *OnRelease) ExampleData() map[string]any + func (r *OnRelease) HandleAction(ctx core.TriggerActionContext) (map[string]any, error) + func (r *OnRelease) HandleWebhook(ctx core.WebhookRequestContext) (int, error) + func (r *OnRelease) Icon() string + func (r *OnRelease) Label() string + func (r *OnRelease) Name() string + func (r *OnRelease) Setup(ctx core.TriggerContext) error + type OnReleaseConfiguration struct + Actions []string + Project string + type OnTag struct + func (t *OnTag) Actions() []core.Action + func (t *OnTag) Cleanup(ctx core.TriggerContext) error + func (t *OnTag) Color() string + func (t *OnTag) Configuration() []configuration.Field + func (t *OnTag) Description() string + func (t *OnTag) Documentation() string + func (t *OnTag) ExampleData() map[string]any + func (t *OnTag) HandleAction(ctx core.TriggerActionContext) (map[string]any, error) + func (t *OnTag) HandleWebhook(ctx core.WebhookRequestContext) (int, error) + func (t *OnTag) Icon() string + func (t *OnTag) Label() string + func (t *OnTag) Name() string + func (t *OnTag) Setup(ctx core.TriggerContext) error + type OnTagConfiguration struct + Project string + Tags []configuration.Predicate + type OnVulnerability struct + func (v *OnVulnerability) Actions() []core.Action + func (v *OnVulnerability) Cleanup(ctx core.TriggerContext) error + func (v *OnVulnerability) Color() string + func (v *OnVulnerability) Configuration() []configuration.Field + func (v *OnVulnerability) Description() string + func (v *OnVulnerability) Documentation() string + func (v *OnVulnerability) ExampleData() map[string]any + func (v *OnVulnerability) HandleAction(ctx core.TriggerActionContext) (map[string]any, error) + func (v *OnVulnerability) HandleWebhook(ctx core.WebhookRequestContext) (int, error) + func (v *OnVulnerability) Icon() string + func (v *OnVulnerability) Label() string + func (v *OnVulnerability) Name() string + func (v *OnVulnerability) Setup(ctx core.TriggerContext) error + type OnVulnerabilityConfiguration struct + Project string + type Pipeline struct + BeforeSHA string + CommittedAt string + Coverage string + CreatedAt string + DetailedStatus map[string]any + Duration float64 + FinishedAt string + ID int + IID int + ProjectID int + QueuedDuration float64 + Ref string + SHA string + Source string + StartedAt string + Status string + Tag bool + URL string + UpdatedAt string + User map[string]any + WebURL string + YamlErrors *string + type PipelineInput struct + Name string + Value string + type PipelineMetadata struct + ID int + IID int + Status string + URL string + type PipelineTestReportSummary struct + TestSuites []map[string]any + Total map[string]any + type PipelineVariable struct + Key string + Value string + VariableType string + type Project struct + ID int + PathWithNamespace string + WebURL string + type ProjectMetadata struct + ID int + Name string + URL string + type RunPipeline struct + func (r *RunPipeline) Actions() []core.Action + func (r *RunPipeline) Cancel(ctx core.ExecutionContext) error + func (r *RunPipeline) Cleanup(ctx core.SetupContext) error + func (r *RunPipeline) Color() string + func (r *RunPipeline) Configuration() []configuration.Field + func (r *RunPipeline) Description() string + func (r *RunPipeline) Documentation() string + func (r *RunPipeline) ExampleOutput() map[string]any + func (r *RunPipeline) Execute(ctx core.ExecutionContext) error + func (r *RunPipeline) HandleAction(ctx core.ActionContext) error + func (r *RunPipeline) HandleWebhook(ctx core.WebhookRequestContext) (int, error) + func (r *RunPipeline) Icon() string + func (r *RunPipeline) Label() string + func (r *RunPipeline) Name() string + func (r *RunPipeline) OutputChannels(configuration any) []core.OutputChannel + func (r *RunPipeline) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error) + func (r *RunPipeline) Setup(ctx core.SetupContext) error + type RunPipelineExecutionMetadata struct + Pipeline *PipelineMetadata + type RunPipelineInputSpec struct + Name string + Value string + type RunPipelineSpec struct + Inputs []RunPipelineInputSpec + Project string + Ref string + type TokenResponse struct + AccessToken string + ExpiresIn int + RefreshToken string + Scope string + TokenType string + func (t *TokenResponse) GetExpiration() time.Duration + type User struct + AvatarURL string + ID int + Name string + State string + Username string + WebURL string + type UserMetadata struct + ID int + Name string + Username string + type WebhookConfiguration struct + EventType string + ProjectID string + type WebhookMetadata struct + ID int