# Functions
AddIssueDiscussionNote adds a note to an existing issue discussion on GitLab.
AddMRDiscussionNote adds a note to an existing MR discussion on GitLab.
BranchList get all branches from the project that somehow matches the requested options.
CIArtifacts searches by name for a job and returns its artifacts archive together with the upstream filename.
CICancel cancels a job for a given project by its ID.
CICreate creates a pipeline for given ref.
CIJobs returns a list of jobs in the pipeline with given id.
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.
CITrigger triggers a pipeline for given ref.
No description provided by the author
No description provided by the author
FindProject looks up the Gitlab project.
Fork creates a user fork of a GitLab project using the specified protocol.
GetCommit returns top Commit by ref (hash, branch or tag).
No description provided by the author
GetMRApprovalsConfiguration returns the current MR approval rule.
GetProject looks up a Gitlab project by ID.
GroupSearch searches for a namespace on GitLab.
Host exposes the GitLab scheme://hostname used to interact with the API.
Init initializes a gitlab client for use throughout lab.
InitWithCustomCA open the HTTP client using a custom CA file (a self signed one for instance) instead of relying only on those installed in the current system database.
IssueClose closes an issue on a GitLab project.
IssueCreate opens a new issue on a GitLab project.
IssueCreateNote creates a new note on an issue and returns the note URL.
No description provided by the author
IssueDuplicate closes an issue as duplicate of another.
IssueGet retrieves the issue information from a GitLab project.
IssueList gets a list of issues on a GitLab Project.
IssueListDiscussions retrieves the discussions (aka notes & comments) for an issue.
IssueReopen reopens a closed issue.
IssueSubscribe subscribes to an issue on a GitLab project.
IssueUnsubscribe unsubscribes from an issue on a GitLab project.
IssueUpdate edits an issue on a GitLab project.
LabelCreate creates a new project label.
LabelDelete removes a project label.
LabelList gets a list of labels on a GitLab Project.
Lint validates .gitlab-ci.yml contents.
ListIssuesClosedOnMerge retuns a list of issue numbers that were closed by an MR being merged.
ListMRsClosingIssue returns a list of MR IDs that has relation to an issue being closed.
ListMRsRelatedToIssue return a list of MR IDs that has any relations to a certain issue.
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.
MilestoneCreate creates a new project milestone.
MilestoneDelete deletes a project milestone.
MilestoneGet get a specific milestone from the list of available ones.
MilestoneList gets a list of milestones on a GitLab Project.
MoveIssue moves one issue from one project to another.
MRApprove approves an mr on a GitLab project.
MRClose closes an mr on a GitLab project.
MRCreate opens a merge request on GitLab.
MRCreateDiscussion creates a discussion on a merge request on GitLab.
MRCreateNote adds a note to a merge request on GitLab.
MRDelete deletes an merge request on a GitLab project.
No description provided by the author
MRGet retrieves the merge request from GitLab project.
MRList lists the MRs on a GitLab project.
MRListDiscussions retrieves the discussions (aka notes & comments) for a merge request.
MRMerge merges an mr on a GitLab project.
MRRebase merges an mr on a GitLab project.
MRReopen reopen an already close mr on a GitLab project.
MRSubscribe subscribes to an mr on a GitLab project.
MRThumbDown places a thumb up/down on a merge request.
MRThumbUp places a thumb up/down on a merge request.
MRUnapprove Unapproves a previously approved mr on a GitLab project.
MRUnsubscribe unsubscribes from a previously mr on a GitLab project.
MRUpdate edits an merge request 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.
ResolveMRDiscussion resolves a discussion (blocking thread) based on its ID.
SnippetCreate creates a personal snippet.
SnippetDelete deletes a personal snippet.
SnippetList lists snippets on a project.
TodoIssueCreate create a Todo item for an specific Issue.
TodoList retuns a list of *gitlab.Todo refering to user's Todo list.
TodoMarkAllDone marks all Todos items as done.
TodoMarkDone marks a specific Todo as done.
TodoMRCreate create a Todo item for an specific MR.
UpdateIssueDiscussionNote updates a specific discussion or note in the specified issue number.
UpdateMRDiscussionNote updates a specific discussion or note in the specified MR ID.
User exposes the configured GitLab user.
UserID get the current user ID from gitlab server.
UserIDFromEmail returns the associated Users ID in GitLab.
UserIDFromUsername returns the associated Users ID in GitLab.
# Variables
ErrActionRepeated is returned when a GitLab action is executed again.
ErrNotModified is returned when adding an already existing item to a Todo list.
ErrProjectNotFound is returned when a GitLab project cannot be found.
ErrStatusForbidden is returned when attempting to access a GitLab project with insufficient permissions.