internal/

directory
v1.113.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2026 License: MIT

Directories

Path Synopsis
api
This is a silly wrapper for gitlab client-go but helps maintain consistency
This is a silly wrapper for gitlab client-go but helps maintain consistency
artifactregistry
Package artifactregistry provides a client for exchanging a GitLab session token for a short-lived GitLab Artifact Registry access token via the POST /api/v4/token_exchange endpoint.
Package artifactregistry provides a client for exchanging a GitLab session token for a short-lived GitLab Artifact Registry access token via the POST /api/v4/token_exchange endpoint.
Package binarymgr provides a reusable lifecycle for managed CLI binaries distributed through a GitLab project's Generic Package Registry.
Package binarymgr provides a reusable lifecycle for managed CLI binaries distributed through a GitLab project's Generic Package Registry.
This file implements URL parsing for GitLab resources to allow commands to accept full GitLab URLs instead of just resource IDs.
This file implements URL parsing for GitLab resources to allow commands to accept full GitLab URLs instead of just resource IDs.
api
artifactregistry/gettoken
Package gettoken implements `glab artifact-registry get-token`, which exchanges the caller's GitLab credential for a short-lived GitLab Artifact Registry access token.
Package gettoken implements `glab artifact-registry get-token`, which exchanges the caller's GitLab credential for a short-lived GitLab Artifact Registry access token.
artifactregistry/status
Package status implements `glab artifact-registry status`, which reports the caller's access to the GitLab Artifact Registry by exchanging their GitLab session for a short-lived access token and inspecting its claims.
Package status implements `glab artifact-registry status`, which reports the caller's access to the GitLab Artifact Registry by exchanging their GitLab session for a short-lived access token and inspecting its claims.
auth/docker
Package docker provides commands that help configure a docker credential helper.
Package docker provides commands that help configure a docker credential helper.
ci
ci/legacyci
This package contains the old `glab pipeline ci` command which has been deprecated in favour of the `glab ci` command.
This package contains the old `glab pipeline ci` command which has been deprecated in favour of the `glab ci` command.
df
duo
job
mcp
mr
mr/diff
adapted from https://github.com/cli/cli/blob/trunk/pkg/cmd/pr/diff/diff.go
adapted from https://github.com/cli/cli/blob/trunk/pkg/cmd/pr/diff/diff.go
orbit/internal/orbiterr
Package orbiterr translates errors returned by the OrbitService into structured `*cmdutils.ExitError` values with Orbit-specific exit codes and human-readable troubleshooting messages.
Package orbiterr translates errors returned by the OrbitService into structured `*cmdutils.ExitError` values with Orbit-specific exit codes and human-readable troubleshooting messages.
orbit/setup
Package setup implements `glab orbit setup`, the guided onboarding for Orbit.
Package setup implements `glab orbit setup`, the guided onboarding for Orbit.
skills/bundled
Package bundled is the source for agent skills that ship inside the glab binary via go:embed.
Package bundled is the source for agent skills that ship inside the glab binary via go:embed.
skills/registry
Package registry is the aggregate skill registry — it stitches together every source of skills (bundled, remote) and exposes a single surface for `glab skills list` and `glab skills install` to consume.
Package registry is the aggregate skill registry — it stitches together every source of skills (bundled, remote) and exposes a single surface for `glab skills list` and `glab skills install` to consume.
skills/remote
Package remote is the source for agent skills hosted on gitlab.com and listed in this repo's curated registry.
Package remote is the source for agent skills hosted on gitlab.com and listed in this repo's curated registry.
skills/skill
Package skill defines the shared types used by every source of glab agent skills (bundled, remote, etc.).
Package skill defines the shared types used by every source of glab agent skills (bundled, remote, etc.).
dependencyfirewall
Package diff parses unified diff text to build line mappings.
Package diff parses unified diff text to build line mappings.
Package dockercredhelper wires glab into Docker as a credential helper: it installs the docker-credential-glab shim that Docker executes, and points Docker's config.json at that shim for a set of registry domains.
Package dockercredhelper wires glab into Docker as a credential helper: it installs the docker-credential-glab shim that Docker executes, and points Docker's config.json at that shim for a set of registry domains.
Package fsx contains small filesystem helpers for callers that need a write to land at a forced permission mode, atomically where the platform allows it: a token-bearing file that must not stay world-readable, or an executable shim that must never be observed in a non-executable state.
Package fsx contains small filesystem helpers for callers that need a write to land at a forced permission mode, atomically where the platform allows it: a token-bearing file that must not stay world-readable, or an executable shim that must never be observed in a non-executable state.
git
testing
Package testing is a generated GoMock package.
Package testing is a generated GoMock package.
Package mcpannotations defines constants for MCP command annotations
Package mcpannotations defines constants for MCP command annotations
testing
artifactregistrytest
Package artifactregistrytest provides shared test helpers for internal/api/artifactregistry and the commands built on top of it, so their tests don't each redefine the same fake token_exchange server and fake JWT.
Package artifactregistrytest provides shared test helpers for internal/api/artifactregistry and the commands built on top of it, so their tests don't each redefine the same fake token_exchange server and fake JWT.
cmdtest
Package cmdtest is a generated GoMock package.
Package cmdtest is a generated GoMock package.
gittest
Package gittest is a generated GoMock package.
Package gittest is a generated GoMock package.

Jump to

Keyboard shortcuts

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