Skip to main content

Module gitlab

Module gitlab 

Source

Structs§

Assignee
A GitLab user (assignee).
Client
Client for the GitLab REST API v4.
GroupClient
Client for group-level GitLab API queries.
Issue
A GitLab issue.
IssueUpdate
Parameters for editing an issue.

Functions§

load_token
Load the GitLab token from GITLAB_TOKEN env var or config file.
package_from_issue_url
Extract the package name from a GitLab issue web_url.
parse_project_url
Parse a GitLab project URL into (base_url, project_path).
project_path_from_issue_url
Extract the project path from a GitLab issue web_url.
validate_token
Check whether a token is valid by calling GET /api/v4/user.