Documentation
¶
Overview ¶
Package arrtest is a pretend Radarr or Sonarr for tests: just enough of their v3 API for what Matinee calls.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fake ¶
type Fake struct {
App arr.App
Key string
URL string
// Base is the app's URL base (Settings → General), such as "/radarr".
// Requests without it are redirected to it, as the real apps do.
Base string
// Catalog is what lookups find online: movies by tmdbId, shows by tvdbId.
Catalog []map[string]any
// Library is what the app has added, by its own id.
Library map[int]map[string]any
Episodes []map[string]any // seriesId, seasonNumber, episodeNumber, episodeFileId
Calendar []map[string]any
Commands []map[string]any
Deleted []string // paths of deleted files, like "/moviefile/3"
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.