readarr

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2026 License: GPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReadarrService

func NewReadarrService() models.ServiceHealthChecker

Types

type ReadarrService

type ReadarrService struct {
	core.ServiceCore
}

func (*ReadarrService) CheckForUpdates

func (s *ReadarrService) CheckForUpdates(ctx context.Context, url, apiKey string) (bool, error)

func (*ReadarrService) CheckHealth

func (s *ReadarrService) CheckHealth(ctx context.Context, url, apiKey string) (models.ServiceHealth, int)

func (*ReadarrService) DeleteQueueItem

func (s *ReadarrService) DeleteQueueItem(
	ctx context.Context,
	baseURL, apiKey, queueID string,
	options types.ReadarrQueueDeleteOptions,
) error

func (*ReadarrService) GetHealthEndpoint

func (s *ReadarrService) GetHealthEndpoint(baseURL string) string

func (*ReadarrService) GetQueue

func (s *ReadarrService) GetQueue(ctx context.Context, url, apiKey string) (any, error)

func (*ReadarrService) GetQueueForHealth

func (s *ReadarrService) GetQueueForHealth(ctx context.Context, url, apiKey string) ([]types.ReadarrQueueItem, error)

func (*ReadarrService) GetSystemStatus

func (s *ReadarrService) GetSystemStatus(ctx context.Context, url, apiKey string) (string, error)

Jump to

Keyboard shortcuts

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