Documentation ¶
Index ¶
- Constants
- type Action
- func (a *Action) Create()
- func (a *Action) StoreLidarr(event website.EventType, instance int)
- func (a *Action) StoreRadarr(event website.EventType, instance int)
- func (a *Action) StoreReadarr(event website.EventType, instance int)
- func (a *Action) StoreSonarr(event website.EventType, instance int)
- func (a *Action) StuckItems(event website.EventType)
- type QueuesPaylod
Constants ¶
const ( TrigStuckItems common.TriggerName = "Sending cached stuck items to website." TrigDownloadingItems common.TriggerName = "Sending cached downloading items to website." )
const TrigLidarrQueue common.TriggerName = "Storing Lidarr instance %d queue."
const TrigRadarrQueue common.TriggerName = "Storing Radarr instance %d queue."
const TrigReadarrQueue common.TriggerName = "Storing Readarr instance %d queue."
const TrigSonarrQueue common.TriggerName = "Storing Sonarr instance %d queue."
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct {
// contains filtered or unexported fields
}
Action contains the exported methods for this package.
func (*Action) StoreLidarr ¶
StoreLidarr fetches and stores the Lidarr queue immediately for the specified instance. Does not send data to the website.
func (*Action) StoreRadarr ¶
StoreRadarr fetches and stores the Radarr queue immediately for the specified instance. Does not send data to the website.
func (*Action) StoreReadarr ¶
StoreReadarr fetches and stores the Readarr queue immediately for the specified instance. Does not send data to the website.
func (*Action) StoreSonarr ¶
StoreSonarr fetches and stores the Sonarr queue immediately for the specified instance. Does not send data to the website.
func (*Action) StuckItems ¶
StuckItems sends the stuck queues items for all apps. Does not fetch fresh data first, uses cache.
type QueuesPaylod ¶ added in v0.4.1
type QueuesPaylod struct { Lidarr itemList `json:"lidarr"` Radarr itemList `json:"radarr"` Readarr itemList `json:"readarr"` Sonarr itemList `json:"sonarr"` }
QueuesPaylod is what we send to the website.