fakes/

directory
v0.0.0-...-831ccf3 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: GPL-3.0

Directories

Path Synopsis
Package capturescript is fake-capture-script: SlipStream's own stand-in for the program an Admin names on a Custom Script connection.
Package capturescript is fake-capture-script: SlipStream's own stand-in for the program an Admin names on a Custom Script connection.
cmd/capture-script command
Command capture-script plays an Admin's Custom Script.
Command capture-script plays an Admin's Custom Script.
Package catalog is fake-catalog: Prowlarr's Indexer catalog in its real layout, an index of definitions with their git blob shas, each file alone and package.zip, serving the fictional sites' definitions from fakes/site/definitions.
Package catalog is fake-catalog: Prowlarr's Indexer catalog in its real layout, an index of definitions with their git blob shas, each file alone and package.zip, serving the fictional sites' definitions from fakes/site/definitions.
Package challengesolver is fake-challenge-solver: a Challenge solver that speaks FlareSolverr's API, one front per Node.
Package challengesolver is fake-challenge-solver: a Challenge solver that speaks FlareSolverr's API, one front per Node.
contenttypes
music/coverart
Package coverart is the music test type's cover-art host, shaped like the Cover Art Archive: a release group's front cover as a generated JPEG, whole or as a square thumbnail.
Package coverart is the music test type's cover-art host, shaped like the Cover Art Archive: a release group's front cover as a generated JPEG, whole or as a square thumbnail.
Package deluge is fake-deluge: Deluge 2.1's Web UI JSON-RPC at /json over the shared fake engine, one web UI per Node, each reached at that Node's front and listing one or more daemons with their own engines.
Package deluge is fake-deluge: Deluge 2.1's Web UI JSON-RPC at /json over the shared fake engine, one web UI per Node, each reached at that Node's front and listing one or more daemons with their own engines.
dht
Package dht is fake-dht: the Fake world's DHT, a KRPC node with one UDP socket per origin, which each Node's endpoints.torrent.dht_routers names.
Package dht is fake-dht: the Fake world's DHT, a KRPC node with one UDP socket per origin, which each Node's endpoints.torrent.dht_routers names.
krpc
Package krpc is the DHT node fake-dht runs: KRPC (BEP 5) over UDP, with one socket per origin.
Package krpc is the DHT node fake-dht runs: KRPC (BEP 5) over UDP, with one socket per origin.
Package emby is fake-emby: one Emby server over the shared Media Server core, the same server at every Node's front.
Package emby is fake-emby: one Emby server over the shared Media Server core, the same server at every Node's front.
Package events is a run's event log, events.jsonl: one Record per line, in the order its one writer, Log, appended them.
Package events is a run's event log, events.jsonl: one Record per line, in the order its one writer, Log, appended them.
Package fake is the shape every fake under fakes/ follows.
Package fake is the shape every fake under fakes/ follows.
faketest
Package faketest serves one fake.Spec in a test, over loopback the way the world serves it or over an in-memory network inside synctest.Test.
Package faketest serves one fake.Spec in a test, over loopback the way the world serves it or over an in-memory network inside synctest.Test.
Package fault is the one fault vocabulary for both offline tiers.
Package fault is the one fault vocabulary for both offline tiers.
Package gestdown is fake-gestdown: Gestdown, Addic7ed's keyless TV proxy, as the recorded run of 2026-11-17 found it (subtitles/online/run-2026-11-17.md) and its server's code describes it.
Package gestdown is fake-gestdown: Gestdown, Addic7ed's keyless TV proxy, as the recorded run of 2026-11-17 found it (subtitles/online/run-2026-11-17.md) and its server's code describes it.
Package imagecdn is fake-image-cdn: TMDB's image host and TVDB's artwork host.
Package imagecdn is fake-image-cdn: TMDB's image host and TVDB's artwork host.
internal
artwork
Package artwork is the real TMDB and TVDB image files the Fake world serves, each named by the path its host serves it at and recorded once by fakes/scenario/record.
Package artwork is the real TMDB and TVDB image files the Fake world serves, each named by the path its host serves it at and recorded once by fakes/scenario/record.
badpeer
Package badpeer is the bad peer of a release: a BitTorrent peer on 127.0.0.1 that claims to hold every piece, then misbehaves as its Scenario says once a leecher asks for them.
Package badpeer is the bad peer of a release: a BitTorrent peer on 127.0.0.1 that claims to hold every piece, then misbehaves as its Scenario says once a leecher asks for them.
ca
Package ca mints a Fake world run's certificate authority.
Package ca mints a Fake world run's certificate authority.
clientfake
Package clientfake is what the four fake Download Clients share past the engine: the cues that play row 16's faults on one Node's client.
Package clientfake is what the four fake Download Clients share past the engine: the cues that play row 16's faults on one Node's client.
clientfake/clientfaketest
Package clientfaketest is what the fake Download Clients' tests share: a world of fake-tracker and two releases that announce to it, and the payload placed where a client finds it.
Package clientfaketest is what the fake Download Clients' tests share: a world of fake-tracker and two releases that announce to it, and the payload placed where a client finds it.
fixture
Package fixture is the fake a new boundary's fake starts from: copy this package to fakes/<boundary>, rename it, and fill in the handler.
Package fixture is the fake a new boundary's fake starts from: copy this package to fakes/<boundary>, rename it, and fill in the handler.
front
Package front is a Fake world's fronts: listeners on 127.0.0.1 the world owns for a whole run, one for each target as one origin reaches it.
Package front is a Fake world's fronts: listeners on 127.0.0.1 the world owns for a whole run, one for each target as one origin reaches it.
fsinfo
Package fsinfo is a file as the side that received it sees it: its size, its link count and the BLAKE3 of its bytes, the same on every OS.
Package fsinfo is a file as the side that received it sees it: its size, its link count and the BLAKE3 of its bytes, the same on every OS.
images
Package images generates the images the image fakes serve: one field of color per name and size, so a test that reads an image back can tell which name and size it got by its dominant color alone.
Package images generates the images the image fakes serve: one field of color per name and size, so a test that reads an image back can tell which name and size it got by its dominant color alone.
leecher
Package leecher is a peer from outside that connects in to a Node's listen port and says hello for a torrent, as a leecher a tracker sent there does.
Package leecher is a peer from outside that connects in to a Node's listen port and says hello for a torrent, as a leecher a tracker sent there does.
mediabrowser
Package mediabrowser is what fake-jellyfin and fake-emby share: their one API family over the shared Media Server core, with a Product per fake holding how each signs a call in, which routes it serves and how the core behaves under it.
Package mediabrowser is what fake-jellyfin and fake-emby share: their one API family over the shared Media Server core, with a Product per fake holding how each signs a call in, which routes it serves and how the core behaves under it.
mediafix
Package mediafix makes real media files for the fakes: a Scenario MediaFile encoded by the bundled ffmpeg and dovi_tool, byte for byte the same on every run, and the record ffprobe reads from it.
Package mediafix makes real media files for the fakes: a Scenario MediaFile encoded by the bundled ffmpeg and dovi_tool, byte for byte the same on every run, and the record ffprobe reads from it.
mediafix/capture command
Command capture writes the ffprobe captures internal/media's tests parse, from mediafix's recipes, with the bundled tools that SLIPSTREAM_NATIVE_TOOLS lists:
Command capture writes the ffprobe captures internal/media's tests parse, from mediafix's recipes, with the bundled tools that SLIPSTREAM_NATIVE_TOOLS lists:
mediaserver
Package mediaserver is the state every Media Server fake answers from: libraries and their folders, items read from the files on disk, users' watch data, collections, scans, path reports and sessions.
Package mediaserver is the state every Media Server fake answers from: libraries and their folders, items read from the files on disk, users' watch data, collections, scans, path reports and sessions.
nodeenv
Package nodeenv builds the explicit environment a Fake world Node runs with, so a stray variable in the caller's shell never reaches it.
Package nodeenv builds the explicit environment a Fake world Node runs with, so a stray variable in the caller's shell never reaches it.
plexaccount
Package plexaccount is the plex.tv account of one world: the fake-plex servers it owns, which fake-plex-tv lists in resources, and the server tokens fake-plex-tv issued, which fake-plex takes until a sign-out revokes them.
Package plexaccount is the plex.tv account of one world: the fake-plex servers it owns, which fake-plex-tv lists in resources, and the server tokens fake-plex-tv issued, which fake-plex takes until a sign-out revokes them.
releases
Package releases builds the release catalog the fakes share: for each Scenario release, a payload video the bundled ffmpeg makes and a torrent of it that announces to fake-tracker, private unless the release is public.
Package releases builds the release catalog the fakes share: for each Scenario release, a payload video the bundled ffmpeg makes and a torrent of it that announces to fake-tracker, private unless the release is public.
seeders
Package seeders seeds a world's seeded releases: one libtorrent session apiece on 127.0.0.1, which a Node reaches through its seeder front.
Package seeders seeds a world's seeded releases: one libtorrent session apiece on 127.0.0.1, which a Node reaches through its seeder front.
serverfake
Package serverfake is what fake-plex, fake-jellyfin and fake-emby share with the world: the server a Scenario names for a kind, its folders as the server names them, the key and administrator the world signs in with, and the addresses an Admin typed for it.
Package serverfake is what fake-plex, fake-jellyfin and fake-emby share with the world: the server a Scenario names for a kind, its folders as the server names them, the key and administrator the world signs in with, and the addresses an Admin typed for it.
speech
Package speech turns a Scenario's speech into the three things that must agree on it: timingtest's schedule, which subtitle cues follow; speechtest's runs, which mediafix renders as PCM bursts; and the Speech Map speechtest reads from those runs without decoding.
Package speech turns a Scenario's speech into the three things that must agree on it: timingtest's schedule, which subtitle cues follow; speechtest's runs, which mediafix renders as PCM bursts; and the Speech Map speechtest reads from those runs without decoding.
subcatalog
Package subcatalog is the Scenario's subtitle_providers catalog as the subtitle provider fakes serve it, and the bytes of each subtitle.
Package subcatalog is the Scenario's subtitle_providers catalog as the subtitle provider fakes serve it, and the bytes of each subtitle.
torrentclient
Package torrentclient is the one fake torrent client engine the four fake Download Clients share: their torrents on the Scenario clock, before any protocol.
Package torrentclient is the one fake torrent client engine the four fake Download Clients share: their torrents on the Scenario clock, before any protocol.
yamltree
Package yamltree writes the part of a config tree that differs from a base, so a file names only what a Scenario or a fake set.
Package yamltree writes the part of a config tree that differs from a base, so a file names only what a Scenario or a fake set.
Package jellyfin is fake-jellyfin: one Jellyfin server over the shared Media Server core, the same server at every Node's front.
Package jellyfin is fake-jellyfin: one Jellyfin server over the shared Media Server core, the same server at every Node's front.
Package notifysink is fake-notify-sink: one front that stands in for every notification provider SlipStream posts to.
Package notifysink is fake-notify-sink: one front that stands in for every notification provider SlipStream posts to.
Package omdb is fake-omdb: OMDb's lookup of a movie or a series by IMDb id, with the ratings and awards the Scenario's omdb section lists, and of a season of a series, with each episode's IMDb rating.
Package omdb is fake-omdb: OMDb's lookup of a movie or a series by IMDb id, with the ratings and awards the Scenario's omdb section lists, and of a season of a series, with each episode's IMDb rating.
Package plex is fake-plex: one Plex Media Server over the shared Media Server core, the same server at every Node's front.
Package plex is fake-plex: one Plex Media Server over the shared Media Server core, the same server at every Node's front.
Package plextv is fake-plex-tv: plex.tv as the recorded run of 2026-11-14 met it, in two Specs that share one account through fake.Shared.
Package plextv is fake-plex-tv: plex.tv as the recorded run of 2026-11-14 met it, in two Specs that share one account through fake.Shared.
Package qbittorrent is fake-qbittorrent: qBittorrent's WebUI API v2 over the shared fake engine, one client per Node, each reached at that Node's front.
Package qbittorrent is fake-qbittorrent: qBittorrent's WebUI API v2 over the shared fake engine, one client per Node, each reached at that Node's front.
Package rtorrent is fake-rtorrent: rTorrent's XML-RPC behind nginx's scgi_pass at /RPC2, over the shared fake engine, one rTorrent per Node, each reached at that Node's front.
Package rtorrent is fake-rtorrent: rTorrent's XML-RPC behind nginx's scgi_pass at /RPC2, over the shared fake engine, one rTorrent per Node, each reached at that Node's front.
Package scenario is the Fake world's one description of a world: its Nodes, its first Admin and the timings every Node runs with.
Package scenario is the Fake world's one description of a world: its Nodes, its first Admin and the timings every Node runs with.
record command
Command record fetches real movies from TMDB and real series from TVDB and TMDB once, with their ratings from OMDb, writes them into a catalog Scenario's tmdb, tvdb and omdb keys and saves their images in the artwork store, so the Fake world serves them offline.
Command record fetches real movies from TMDB and real series from TVDB and TMDB once, with their ratings from OMDb, writes them into a catalog Scenario's tmdb, tvdb and omdb keys and saves their images in the artwork store, so the Fake world serves them offline.
Package site is fixture-site: the fictional sites Indexers reach, each at its own host under Domain, which each Node dials at its own front.
Package site is fixture-site: the fictional sites Indexers reach, each at its own host under Domain, which each Node dials at its own front.
definitions
Package definitions holds the Cardigann definitions of fixture-site's fictional sites, which fake-catalog serves as its Indexer catalog.
Package definitions holds the Cardigann definitions of fixture-site's fictional sites, which fake-catalog serves as its Indexer catalog.
ports
Package ports is fixture-site's replay of every port's scrubbed exchanges, and the runner tier that proves each port against them.
Package ports is fixture-site's replay of every port's scrubbed exchanges, and the runner tier that proves each port against them.
ports/internal/testport
Package testport is a port the fixture harness proves itself with: a site that signs in with a form to a cookie session and lists releases as JSON.
Package testport is a port the fixture harness proves itself with: a site that signs in with a form to a cookie session and lists releases as JSON.
ports/record command
Command record writes a port's fixture from a real exchange or from a Prowlarr recording, scrubbed, and writes nothing the scrub check refuses.
Command record writes a port's fixture from a real exchange or from a Prowlarr recording, scrubbed, and writes nothing the scrub check refuses.
Package smtp is fakes/smtp: a capturing mail server on go-smtp.
Package smtp is fakes/smtp: a capturing mail server on go-smtp.
Package subdl is fake-subdl: SubDL's v2 API as the recorded run of 2026-11-17 found it (subtitles/online/run-2026-11-17.md).
Package subdl is fake-subdl: SubDL's v2 API as the recorded run of 2026-11-17 found it (subtitles/online/run-2026-11-17.md).
Package subsource is fake-subsource: SubSource's v1 API as the recorded run of 2026-11-17 found it (subtitles/online/run-2026-11-17.md).
Package subsource is fake-subsource: SubSource's v1 API as the recorded run of 2026-11-17 found it (subtitles/online/run-2026-11-17.md).
Package testbin finds a binary under test: the path a test variable names, or one build per test process with the bundled tool programs beside it, as a release places them.
Package testbin finds a binary under test: the path a test variable names, or one build per test process with the bundled tool programs beside it, as a release places them.
Package tmdb is fake-tmdb: TMDB v3's movie and series searches, whole movie records, what it adds to a series, the lookup by TVDB id, the movie and series changes lists and configuration, from the Scenario's tmdb catalog.
Package tmdb is fake-tmdb: TMDB v3's movie and series searches, whole movie records, what it adds to a series, the lookup by TVDB id, the movie and series changes lists and configuration, from the Scenario's tmdb catalog.
Package tracker is fake-tracker: a private HTTPS BitTorrent tracker with one account per fixture-site site and one for fixture-seeders, each a passkey, that knows the release catalog's torrents.
Package tracker is fake-tracker: a private HTTPS BitTorrent tracker with one account per fixture-site site and one for fixture-seeders, each a passkey, that knows the release catalog's torrents.
Package transmission is fake-transmission: Transmission's RPC over the shared fake engine, one daemon per Node, each reached at that Node's front.
Package transmission is fake-transmission: Transmission's RPC over the shared fake engine, one daemon per Node, each reached at that Node's front.
Package tvdb is fake-tvdb: TVDB API v4's login, series search, extended series records, episodes in each order, updates list and languages, from the Scenario's tvdb catalog.
Package tvdb is fake-tvdb: TVDB API v4's login, series search, extended series records, episodes in each order, updates list and languages, from the Scenario's tvdb catalog.
Package world launches a Fake world: every fake in the world's list, and every Node of a Scenario on its own loopback address, set up as the Scenario says.
Package world launches a Fake world: every fake in the world's list, and every Node of a Scenario on its own loopback address, set up as the Scenario says.
internal/control
Package control is a run's control API: HTTP/1.1 over a Unix socket, which the supervisor, or the test process for an in-process run, serves with the world's handler.
Package control is a run's control API: HTTP/1.1 over a Unix socket, which the supervisor, or the test process for an in-process run, serves with the world's handler.
internal/lifecycle
Package lifecycle runs one Node of a world, from each spawn to each exit, as a small state machine: an action moves a Node between running, stopped, killed and exited, and a process that exits while no action is under way leaves it exited.
Package lifecycle runs one Node of a world, from each spawn to each exit, as a small state machine: an action moves a Node between running, stopped, killed and exited, and a process that exits while no action is under way leaves it exited.
internal/loopback
Package loopback aliases the Node addresses 127.0.0.2 to 127.0.0.32 on lo0 on macOS, where only 127.0.0.1 answers until an alias exists.
Package loopback aliases the Node addresses 127.0.0.2 to 127.0.0.32 on lo0 on macOS, where only 127.0.0.1 answers until an alias exists.
internal/nodeapi
Package nodeapi is the Node API as the world speaks it: hand-written requests and responses, the way a script calls the API.
Package nodeapi is the Node API as the world speaks it: hand-written requests and responses, the way a script calls the API.
internal/proc
Package proc spawns the world's child processes and waits on their exits as events.
Package proc spawns the world's child processes and waits on their exits as events.
internal/setup
Package setup is what both worlds, the process world and the simulation tier, do to a Scenario's Nodes: the config.yaml each runs with, the setup steps once they are ready, and each one's manifest entry.
Package setup is what both worlds, the process world and the simulation tier, do to a Scenario's Nodes: the config.yaml each runs with, the setup steps once they are ready, and each one's manifest entry.
sim
Package sim is the simulation tier: a Scenario's Nodes run whole, each through node.Start, on one in-memory fault.Network inside the caller's testing/synctest bubble, so partitions, re-dials and restarts take fake time.
Package sim is the simulation tier: a Scenario's Nodes run whole, each through node.Start, on one in-memory fault.Network inside the caller's testing/synctest bubble, so partitions, re-dials and restarts take fake time.
sim/movestest
Package movestest is the levers of S48 (Moves)'s sim cases: the moves Scenario with one movie and its subtitle in den's movies-e, a crash of the Controller before a Move's step, the Nodes that go offline while it is down, and the invariants every case asserts.
Package movestest is the levers of S48 (Moves)'s sim cases: the moves Scenario with one movie and its subtitle in den's movies-e, a crash of the Controller before a Move's step, the Nodes that go offline while it is down, and the invariants every case asserts.
sim/simtest
Package simtest is the simulation tier's shared test helpers: the home Scenario, waits in fake time, and what an Admin reads of a world's roots, scheduled tasks, Health and Grabs.
Package simtest is the simulation tier's shared test helpers: the home Scenario, waits in fake time, and what an Admin reads of a world's roots, scheduled tasks, Health and Grabs.
worldtest
Package worldtest is the end-to-end tier's helpers: launch a world for a test, wait on conditions under the test's deadline, and read what a person would read from a Node's log.
Package worldtest is the end-to-end tier's helpers: launch a world for a test, wait on conditions under the test's deadline, and read what a person would read from a Node's log.

Jump to

Keyboard shortcuts

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