package
0.12.0
Repository: https://github.com/hasmatthew/lab.git
Documentation: pkg.go.dev

# Functions

BranchPushed checks if a branch exists on a GitLab project.
CICancel cancels a job for a given project by its ID.
CIJobs returns a list of jobs in a pipeline for a given sha.
CIPlayOrRetry runs a job either by playing it for the first time or by retrying it based on the currently known job state.
CITrace searches by name for a job and returns its trace file.
FindProject looks up the Gitlab project.
Fork creates a user fork of a GitLab project.
GetProject looks up a Gitlab project by ID.
Host exposes the GitLab scheme://hostname used to interact with the API.
Init initializes a gitlab client for use throughout lab.
IssueClose closes an issue on a GitLab project.
IssueCreate opens a new issue on a GitLab Project.
IssueGet retrieves the issue information from a GitLab project.
IssueList gets a list of issues on a GitLab Project.
Lint validates .gitlab-ci.yml contents.
LoadGitLabTmpl loads gitlab templates for use in creating Issues and MRs https://gitlab.com/help/user/project/description_templates.md#setting-a-default-template-for-issues-and-merge-requests.
MRClose closes an mr on a GitLab project.
MRCreate opens a merge request on GitLab.
MRGet retrieves the merge request from GitLab project.
MRList lists the MRs on a GitLab project.
MRMerge merges an mr on a GitLab project.
ProjectCreate creates a new project on GitLab.
ProjectDelete creates a new project on GitLab.
ProjectList gets a list of projects on GitLab.
ProjectSnippetCreate creates a snippet in a project.
ProjectSnippetDelete deletes a project snippet.
ProjectSnippetList lists snippets on a project.
SnippetCreate creates a personal snippet.
SnippetDelete deletes a personal snippet.
SnippetList lists snippets on a project.
User exposes the configured GitLab user.
UserIDFromUsername returns the associated Users ID in GitLab.

# Constants

Defines filepath for default GitLab templates.
Defines filepath for default GitLab templates.

# Variables

No description provided by the author