Documentation
¶
Index ¶
- func NewReadarrService() models.ServiceHealthChecker
- type ReadarrService
- func (s *ReadarrService) CheckForUpdates(ctx context.Context, url, apiKey string) (bool, error)
- func (s *ReadarrService) CheckHealth(ctx context.Context, url, apiKey string) (models.ServiceHealth, int)
- func (s *ReadarrService) DeleteQueueItem(ctx context.Context, baseURL, apiKey, queueID string, ...) error
- func (s *ReadarrService) GetHealthEndpoint(baseURL string) string
- func (s *ReadarrService) GetQueue(ctx context.Context, url, apiKey string) (any, error)
- func (s *ReadarrService) GetQueueForHealth(ctx context.Context, url, apiKey string) ([]types.ReadarrQueueItem, error)
- func (s *ReadarrService) GetSystemStatus(ctx context.Context, url, apiKey string) (string, error)
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 (*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) GetQueueForHealth ¶
func (s *ReadarrService) GetQueueForHealth(ctx context.Context, url, apiKey string) ([]types.ReadarrQueueItem, error)
func (*ReadarrService) GetSystemStatus ¶
Click to show internal directories.
Click to hide internal directories.