pac

package
v0.0.0-...-f64f9cb Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2026 License: MIT Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddComment

func AddComment(comment string)

adds a comment to the specified merge request.

func AddLabel

func AddLabel(label, color, description string)

func AssertPACInfoInstall

func AssertPACInfoInstall()

func CleanupPAC

func CleanupPAC(c *clients.Clients, smeeDeploymentName, namespace string)

func ConfigurePreviewChanges

func ConfigurePreviewChanges()

func GeneratePipelineRunYaml

func GeneratePipelineRunYaml(eventType, branch string)

func GetPipelineName

func GetPipelineName(validateMR bool) (pipelineName string)

GetPipelineName gets the latest pipeline run

func GetPipelineNameFromMR

func GetPipelineNameFromMR() (pipelineName string)

func GetPushPipelineNameFromMain

func GetPushPipelineNameFromMain() (pipelineName string)

func InitGitLabClient

func InitGitLabClient() *gitlab.Client

Initialize Gitlab Client

func SetGitLabClient

func SetGitLabClient(c *gitlab.Client)

func SetupGitLabProject

func SetupGitLabProject() *gitlab.Project

func SetupSmeeDeployment

func SetupSmeeDeployment()

func TriggerPushOnForkMain

func TriggerPushOnForkMain()

func UpdateAnnotation

func UpdateAnnotation(annotationKey, annotationValue string)

updateAnnotation updates the specified annotation in the pull-request.yaml file

Types

This section is empty.

Jump to

Keyboard shortcuts

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