⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module repo_server

Module repo_server 

Source
Expand description

Package Repository Hosting

HTTP-based package repository server for VeridianOS. Hosts binary packages with metadata indexing, Ed25519 signature verification, paginated search, and JSON-like index generation for client consumption.

§HTTP Endpoints (conceptual)

  • GET /api/packages – paginated package listing
  • GET /api/packages/{name} – all versions of a package
  • GET /api/packages/{name}/{version} – specific version metadata
  • POST /api/packages – upload with Ed25519 signature auth

Structs§

RepoConfig
Repository configuration.
RepoIndex
Repository package index.
RepoPackageMeta
Package metadata stored in the repository index.
RepoRequest
Parsed HTTP request for the repository API.
RepoResponse
HTTP response from the repository.
RepoServer
Package repository server.

Enums§

HttpMethod
HTTP request method (subset relevant to the repo API).