scanner

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func NewManager

func NewManager(configGetter config.ConfigGetter, instances *instances.Manager, clients *clients.Manager, data *data.Manager) *Manager

func (*Manager) TriggerDownloadScan

func (m *Manager) TriggerDownloadScan(ctx context.Context, instanceType string)

TriggerDownloadScan triggers the "Check For Finished Downloads" task in ARR instances

func (*Manager) TriggerFileRescan

func (m *Manager) TriggerFileRescan(ctx context.Context, pathForRescan string, relativePath string) error

TriggerFileRescan triggers a rescan for a specific file path through the appropriate ARR instance

func (*Manager) TriggerScanForFile

func (m *Manager) TriggerScanForFile(ctx context.Context, filePath string) error

TriggerScanForFile finds the ARR instance managing the file and triggers a download scan on it.

Jump to

Keyboard shortcuts

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