Skip to main content

Module client

Module client 

Source
Expand description

GitLab REST API client — fetches repository tags (project: includes) and project releases (component: includes) from a per-call, per-instance host.

Parallel to, but not derived from, deps_core::github::GithubTagsClient: GitLab references may target a self-hosted instance (NFR-008), so the host is a per-call argument rather than a compile-time constant — the one structural difference driving every choice below.

Structs§

GitlabApiClient
Client for fetching repository tags and project releases from a per-call GitLab instance host.
GitlabCommit
The commit object nested in a GitlabTag/GitlabRelease.
GitlabRelease
GitLab releases API response item (GET /projects/:id/releases).
GitlabTag
GitLab tags API response item (GET /projects/:id/repository/tags).

Constants§

MAX_GITLAB_PAGES
Maximum number of pages fetched per (host, project, endpoint) combination.

Functions§

gitlab_rate_limit_error
The actionable error returned when a request hits GitLab’s rate limit, or a 401/403 with no GITLAB_TOKEN configured (spec FR-014).
parse_releases_page
Parses a single GitLab releases API response page.
parse_tags_page
Parses a single GitLab tags API response page.