Directories
¶
| Path | Synopsis |
|---|---|
|
Package allowlist provides a mechanism restrict which repos can go through Packhorse's caching mechanism.
|
Package allowlist provides a mechanism restrict which repos can go through Packhorse's caching mechanism. |
|
Package api provides HTTP API handlers for Packhorse's management endpoints.
|
Package api provides HTTP API handlers for Packhorse's management endpoints. |
|
Package blobstorage provides a factory for creating blob storage buckets with provider-specific initialization.
|
Package blobstorage provides a factory for creating blob storage buckets with provider-specific initialization. |
|
Package cache provides disk-based caching for Git packfiles with in-memory metadata.
|
Package cache provides disk-based caching for Git packfiles with in-memory metadata. |
|
Package coalesce provides request coalescing to prevent duplicate upstream fetches.
|
Package coalesce provides request coalescing to prevent duplicate upstream fetches. |
|
Package config handles loading, validating, and applying defaults to Packhorse configuration files.
|
Package config handles loading, validating, and applying defaults to Packhorse configuration files. |
|
Package health provides health check endpoints for Kubernetes readiness and liveness probes.
|
Package health provides health check endpoints for Kubernetes readiness and liveness probes. |
|
Package middleware provides HTTP middleware functions for Packhorse.
|
Package middleware provides HTTP middleware functions for Packhorse. |
|
Package observability provides logging and metrics instrumentation using GitLab LabKit.
|
Package observability provides logging and metrics instrumentation using GitLab LabKit. |
|
Package packfile provides efficient parsing of Git packfiles stored in object storage.
|
Package packfile provides efficient parsing of Git packfiles stored in object storage. |
|
Package parser provides Git Protocol v2 parsing for Git requests.
|
Package parser provides Git Protocol v2 parsing for Git requests. |
|
capabilities
Package capabilities provides parsing and marshalling for Git Protocol v2 capabilities advertisements in pkt-line format.
|
Package capabilities provides parsing and marshalling for Git Protocol v2 capabilities advertisements in pkt-line format. |
|
Package pktlineeditor provides a streaming editor for manipulating Git pkt-line protocol responses.
|
Package pktlineeditor provides a streaming editor for manipulating Git pkt-line protocol responses. |
|
Package prenegotiation provides request augmentation for Git fetch operations.
|
Package prenegotiation provides request augmentation for Git fetch operations. |
|
Package proxy provides HTTP proxy handlers for Git protocol requests.
|
Package proxy provides HTTP proxy handlers for Git protocol requests. |
|
Package router provides a simple HTTP router with wildcard path suffix matching.
|
Package router provides a simple HTTP router with wildcard path suffix matching. |
|
Package server provides a reusable server implementation for Packhorse.
|
Package server provides a reusable server implementation for Packhorse. |
|
Package servertest starts a Packhorse with a fake upstream behind it, so tests can run real git fetches against it.
|
Package servertest starts a Packhorse with a fake upstream behind it, so tests can run real git fetches against it. |
|
Package sideband validates a Git protocol v2 upload-pack response stream.
|
Package sideband validates a Git protocol v2 upload-pack response stream. |
|
Package testgitserver provides a local Git HTTP server for testing using git-http-backend.
|
Package testgitserver provides a local Git HTTP server for testing using git-http-backend. |
|
Package testing provides shared test utilities for use across internal packages.
|
Package testing provides shared test utilities for use across internal packages. |
|
Package util provides common utility functions used across the Packhorse codebase.
|
Package util provides common utility functions used across the Packhorse codebase. |
Click to show internal directories.
Click to hide internal directories.