Documentation Components Every service, middleware, and driver in reva, generated from the source code.
Reva is a set of plugins compiled into one binary, revad. A configuration file picks which services run in a process and which driver each one uses. These pages are generated from the source code, so they list exactly what a build contains.
Services that implement the CS3 APIs. The gateway is the entry point; the others are providers it routes to.
Services that expose reva over HTTP: WebDAV, OCS, Graph, OCM, data transfer, and more.
Handlers that wrap every HTTP request: authentication, CORS, logging, tracing.
Handlers that wrap every gRPC call.
Services that run in the background without a listener: jobs, notifications, reconciliation.
Pluggable back ends. A service picks one driver per family in its configuration.
Apps Authentication Core Federation (OCM) Operations Sharing Storage User settings Users and groups Shared packages that are not plugins but have their own documentation or configuration.
Other documented packages Packages with a doc comment but no settings. Their documentation is on the Go reference.
internal/grpc/control Implements the per-process control channel (reva.control.v1beta1): a gRPC service that …
internal/grpc/services/gateway/ratelimiters Holds the rate limiters the gateway applies to the PublishEvent flow, keyed by the …
internal/http/services/owncloud/ocs/conversions Sits between CS3 type definitions and OCS API Responses
internal/http/services/owncloud/ocs/handlers/cloud/capabilities Contains the capabilities handler.
internal/http/services/owncloud/ocs/handlers/cloud/users Contains the users handler.
pkg/activity Tracks one service instance's request activity: how many requests are in flight right now, …
pkg/admin Holds the primitives specific to the reva Admin API: the audit helper and the service …
pkg/appauth/loginflow Holds the persistent state for the login flow.
pkg/auth/scope/ocmshare Reads code-flow OCM share scopes without importing the parent scope package or the JWT …
pkg/errtypes Contains definitions for common errors.
pkg/invoke The process-wide invocation framework: services opt into the Invokable capability, and …
pkg/invoke/client Resolves invocation targets through the service registry and runs invocations over the …
pkg/logtail Keeps a bounded, in-memory ring of a process's recent log lines, with a live tap for …
pkg/messagequeue Holds the shared message-queue infrastructure used across Reva, such as the resilient NATS …
pkg/notifications/accumulation Stores accepted notification events that share a deduplication key and coordinates, …
pkg/ocm/client Provides shared HTTP transports for outbound OCM calls.
pkg/ocm/httpsig Implements the OCM profile of RFC 9421 HTTP Message Signatures.
pkg/ocm/invite/repository/internal/contracttest Holds the shared behavioral suite for invite repository adapters.
pkg/ocm/launcher Renders the page that hands a user over to a web application with a POST request.
pkg/openapi Describes a reva deployment's HTTP surface as an OpenAPI document, built from the routes …
pkg/permissions Sits between CS3 type definitions and OCS API Responses
pkg/rgrpc/mtls Builds the credentials for mutual TLS between reva's gRPC services.
pkg/rgrpc/status Contains helpers functions to create grpc Status with contextual information, like traces.
pkg/rhttp/datatx Provides a library to abstract the complexity of using various data transfer protocols.
pkg/rhttp/datatx/utils/download Provides a library to handle file download requests.
pkg/rhttp/router The HTTP routing API reva services use to declare the URLs they serve.
pkg/rjobs Provides a framework to run background work in reva, both periodically and once on demand.
pkg/rjobs/store/nats Implements the rjobs.Store on top of NATS JetStream.
pkg/rjobs/store/sql Implements the rjobs.StatusStore on top of a relational database via GORM.
pkg/rjobs/store/sql/model Holds the GORM model for the SQL job status store.
pkg/rversion Holds reva's build/version metadata.
pkg/service Hosts the registry-backed peer resolver embedded by every reva service across all …
pkg/sharehierarchy Implements the hierarchical share consistency algorithm described in ADR-0005-P01.
pkg/stats Defines the self-describing statistics payload a service can expose through its `stats` …
pkg/storage/registry/dynamic/rewriter Contains the route rewriters
pkg/storage/registry/dynamic/routingtree Contains the routing tree implementation.
pkg/storage/registry/utils Contains utilities for storage registries
pkg/storage/utils/templates Contains data-driven templates for path layouts. Generated from the source code by make gen-doc.