Directories
¶
| Path | Synopsis |
|---|---|
|
Package cmd provides command-line interface commands for Schedularr.
|
Package cmd provides command-line interface commands for Schedularr. |
|
schema
Package schema provides embedded CUE schemas for Schedularr configuration.
|
Package schema provides embedded CUE schemas for Schedularr configuration. |
|
internal
|
|
|
api
Package api implements the Schedularr HTTP API defined by api/openapi.yaml.
|
Package api implements the Schedularr HTTP API defined by api/openapi.yaml. |
|
api/gen
Package gen provides primitives to interact with the openapi HTTP API.
|
Package gen provides primitives to interact with the openapi HTTP API. |
|
api/middleware
Package middleware provides the HTTP middleware shared by every route on the Schedularr API server: request-id propagation, structured request logging, panic recovery, and bearer-token authentication.
|
Package middleware provides the HTTP middleware shared by every route on the Schedularr API server: request-id propagation, structured request logging, panic recovery, and bearer-token authentication. |
|
blockio
Package blockio provides CUE-validated YAML import/export for scheduling blocks, plus first-run bootstrap of a static scheduler file into the block store (see Bootstrap in bootstrap.go).
|
Package blockio provides CUE-validated YAML import/export for scheduling blocks, plus first-run bootstrap of a static scheduler file into the block store (see Bootstrap in bootstrap.go). |
|
cache
Package cache provides an in-memory caching mechanism for application data.
|
Package cache provides an in-memory caching mechanism for application data. |
|
config
Package config provides configuration loading for Schedularr.
|
Package config provides configuration loading for Schedularr. |
|
cueconfig
Package cueconfig provides CUE schema-based configuration validation, generation, and loading.
|
Package cueconfig provides CUE schema-based configuration validation, generation, and loading. |
|
events
Package events provides the in-process broadcast hub behind GET /api/v1/events.
|
Package events provides the in-process broadcast hub behind GET /api/v1/events. |
|
external/tunarr
Package tunarr provides a client for interacting with the Tunarr API.
|
Package tunarr provides a client for interacting with the Tunarr API. |
|
httpclient
Package httpclient provides a shared HTTP client with retry logic and metrics instrumentation.
|
Package httpclient provides a shared HTTP client with retry logic and metrics instrumentation. |
|
metadata
Package metadata looks up show metadata at external providers and folds their differing genre labels into one canonical vocabulary, so that a block's filter.genres means the same thing no matter which source a Tunarr library was built from.
|
Package metadata looks up show metadata at external providers and folds their differing genre labels into one canonical vocabulary, so that a block's filter.genres means the same thing no matter which source a Tunarr library was built from. |
|
metadata/tmdb
Package tmdb implements metadata.Provider against The Movie Database's v3 REST API.
|
Package tmdb implements metadata.Provider against The Movie Database's v3 REST API. |
|
metadata/tvdb
Package tvdb implements metadata.Provider against TheTVDB's v4 REST API.
|
Package tvdb implements metadata.Provider against TheTVDB's v4 REST API. |
|
metrics
Package metrics provides Prometheus metrics instrumentation for Schedularr.
|
Package metrics provides Prometheus metrics instrumentation for Schedularr. |
|
problem
Package problem defines the RFC 7807 problem+json error body shared by the Schedularr API's handlers (internal/api) and its HTTP middleware (internal/api/middleware).
|
Package problem defines the RFC 7807 problem+json error body shared by the Schedularr API's handlers (internal/api) and its HTTP middleware (internal/api/middleware). |
|
scheduler
Package scheduler provides the core scheduling engine for Schedularr.
|
Package scheduler provides the core scheduling engine for Schedularr. |
|
service
Package service hosts the schedule-generation workflow shared by the CLI (cmd/generate.go) and the HTTP API (internal/api/schedule.go): loading the active scheduling blocks, fetching available Tunarr content, running the scheduling engine over a time window, and -- when asked -- pushing the result to Tunarr and committing engine state.
|
Package service hosts the schedule-generation workflow shared by the CLI (cmd/generate.go) and the HTTP API (internal/api/schedule.go): loading the active scheduling blocks, fetching available Tunarr content, running the scheduling engine over a time window, and -- when asked -- pushing the result to Tunarr and committing engine state. |
|
store
Package store provides persistence for scheduling state.
|
Package store provides persistence for scheduling state. |
|
Package web embeds the Hugo-built site (web/public) into the schedularr binary.
|
Package web embeds the Hugo-built site (web/public) into the schedularr binary. |
Click to show internal directories.
Click to hide internal directories.