Versions in this module Expand all Collapse all v0 v0.3.0 Apr 17, 2026 v0.2.0 Apr 16, 2026 v0.1.0 Apr 14, 2026 Changes in this version + type AddCapabilityParams struct + Capability string + ID string + ServiceID string + type AddIndexerTagParams struct + IndexerID string + TagID string + type AddServiceTagParams struct + ServiceID string + TagID string + type ConfigEntry struct + ID string + Key string + Namespace string + UpdatedAt string + Value string + type ConfigSubscription struct + ID string + Namespace string + ServiceID string + type CreateAssignmentParams struct + ID string + IndexerID string + Overrides string + ServiceID string + type CreateDownloadClientParams struct + Category string + CreatedAt string + Directory string + Enabled bool + Host string + ID string + Kind string + Name string + Password string + Port int32 + Priority int32 + Protocol string + Settings string + UpdatedAt string + UseSsl bool + Username string + type CreateFilterPresetParams struct + CreatedAt string + Filters string + ID string + Name string + UpdatedAt string + type CreateIndexerParams struct + ApiKey string + CreatedAt string + Enabled bool + ID string + Kind string + Name string + Priority int32 + Settings string + UpdatedAt string + Url string + type CreateQualityProfileParams struct + CreatedAt string + CutoffJson string + ID string + MinCustomFormatScore int32 + Name string + QualitiesJson string + UpdatedAt string + UpgradeAllowed bool + UpgradeUntilCfScore int32 + UpgradeUntilJson sql.NullString + type CreateServiceParams struct + ApiKey string + ApiUrl string + HealthUrl string + ID string + LastSeen string + Metadata string + Name string + Registered string + Status string + Type string + Version string + type CreateTagParams struct + ID string + Name string + type DBTX interface + ExecContext func(context.Context, string, ...interface{}) (sql.Result, error) + PrepareContext func(context.Context, string) (*sql.Stmt, error) + QueryContext func(context.Context, string, ...interface{}) (*sql.Rows, error) + QueryRowContext func(context.Context, string, ...interface{}) *sql.Row + type DeleteAssignmentParams struct + IndexerID string + ServiceID string + type DeleteConfigEntryParams struct + Key string + Namespace string + type DownloadClient struct + Category string + CreatedAt string + Directory string + Enabled bool + Host string + ID string + Kind string + Name string + Password string + Port int32 + Priority int32 + Protocol string + Settings string + UpdatedAt string + UseSsl bool + Username string + type FilterPreset struct + CreatedAt string + Filters string + ID string + Name string + UpdatedAt string + type GetAssignmentOverridesParams struct + IndexerID string + ServiceID string + type GetConfigEntryParams struct + Key string + Namespace string + type GetServiceByNameAndTypeParams struct + Name string + Type string + type Indexer struct + ApiKey string + CreatedAt string + Enabled bool + ID string + Kind string + Name string + Priority int32 + Settings string + UpdatedAt string + Url string + type IndexerAssignment struct + ID string + IndexerID string + Overrides string + ServiceID string + type IndexerTag struct + IndexerID string + TagID string + type QualityProfile struct + CreatedAt string + CutoffJson string + ID string + MinCustomFormatScore int32 + Name string + QualitiesJson string + UpdatedAt string + UpgradeAllowed bool + UpgradeUntilCfScore int32 + UpgradeUntilJson sql.NullString + type Querier interface + AddCapability func(ctx context.Context, arg AddCapabilityParams) error + AddIndexerTag func(ctx context.Context, arg AddIndexerTagParams) error + AddServiceTag func(ctx context.Context, arg AddServiceTagParams) error + CountIndexersForTag func(ctx context.Context, tagID string) (int64, error) + CountServicesByType func(ctx context.Context, type_ string) (int64, error) + CountServicesForTag func(ctx context.Context, tagID string) (int64, error) + CreateAssignment func(ctx context.Context, arg CreateAssignmentParams) (IndexerAssignment, error) + CreateDownloadClient func(ctx context.Context, arg CreateDownloadClientParams) (DownloadClient, error) + CreateFilterPreset func(ctx context.Context, arg CreateFilterPresetParams) (FilterPreset, error) + CreateIndexer func(ctx context.Context, arg CreateIndexerParams) (Indexer, error) + CreateQualityProfile func(ctx context.Context, arg CreateQualityProfileParams) (QualityProfile, error) + CreateService func(ctx context.Context, arg CreateServiceParams) (Service, error) + CreateTag func(ctx context.Context, arg CreateTagParams) (Tag, error) + DeleteAssignment func(ctx context.Context, arg DeleteAssignmentParams) error + DeleteAssignmentsByIndexer func(ctx context.Context, indexerID string) error + DeleteAssignmentsByService func(ctx context.Context, serviceID string) error + DeleteCapabilities func(ctx context.Context, serviceID string) error + DeleteConfigEntry func(ctx context.Context, arg DeleteConfigEntryParams) error + DeleteConfigNamespace func(ctx context.Context, namespace string) error + DeleteDownloadClient func(ctx context.Context, id string) error + DeleteFilterPreset func(ctx context.Context, id string) error + DeleteFilterPresetByName func(ctx context.Context, name string) error + DeleteIndexer func(ctx context.Context, id string) error + DeleteQualityProfile func(ctx context.Context, id string) error + DeleteService func(ctx context.Context, id string) error + DeleteSubscriptionsByService func(ctx context.Context, serviceID string) error + DeleteTag func(ctx context.Context, id string) error + GetAssignmentOverrides func(ctx context.Context, arg GetAssignmentOverridesParams) (string, error) + GetConfigEntry func(ctx context.Context, arg GetConfigEntryParams) (ConfigEntry, error) + GetDownloadClient func(ctx context.Context, id string) (DownloadClient, error) + GetFilterPreset func(ctx context.Context, id string) (FilterPreset, error) + GetFilterPresetByName func(ctx context.Context, name string) (FilterPreset, error) + GetIndexer func(ctx context.Context, id string) (Indexer, error) + GetQualityProfile func(ctx context.Context, id string) (QualityProfile, error) + GetService func(ctx context.Context, id string) (Service, error) + GetServiceByNameAndType func(ctx context.Context, arg GetServiceByNameAndTypeParams) (Service, error) + GetSharedMediaHandling func(ctx context.Context) (SharedMediaHandling, error) + GetTag func(ctx context.Context, id string) (Tag, error) + GetTagByName func(ctx context.Context, name string) (Tag, error) + ListAllConfig func(ctx context.Context) ([]ConfigEntry, error) + ListAssignmentsByIndexer func(ctx context.Context, indexerID string) ([]IndexerAssignment, error) + ListAssignmentsByService func(ctx context.Context, serviceID string) ([]IndexerAssignment, error) + ListCapabilities func(ctx context.Context, serviceID string) ([]string, error) + ListConfigByNamespace func(ctx context.Context, namespace string) ([]ConfigEntry, error) + ListConfigNamespaces func(ctx context.Context) ([]string, error) + ListDownloadClients func(ctx context.Context) ([]DownloadClient, error) + ListDownloadClientsByProtocol func(ctx context.Context, protocol string) ([]DownloadClient, error) + ListEnabledDownloadClients func(ctx context.Context) ([]DownloadClient, error) + ListEnabledIndexers func(ctx context.Context) ([]Indexer, error) + ListFilterPresets func(ctx context.Context) ([]FilterPreset, error) + ListIndexerTagIDs func(ctx context.Context, indexerID string) ([]string, error) + ListIndexers func(ctx context.Context) ([]Indexer, error) + ListIndexersForService func(ctx context.Context, serviceID string) ([]Indexer, error) + ListOnlineServices func(ctx context.Context) ([]Service, error) + ListQualityProfiles func(ctx context.Context) ([]QualityProfile, error) + ListServiceTagIDs func(ctx context.Context, serviceID string) ([]string, error) + ListServices func(ctx context.Context) ([]Service, error) + ListServicesByCapability func(ctx context.Context, capability string) ([]Service, error) + ListServicesByType func(ctx context.Context, type_ string) ([]Service, error) + ListSubscribersByNamespace func(ctx context.Context, namespace string) ([]Service, error) + ListSubscriptionsByService func(ctx context.Context, serviceID string) ([]string, error) + ListTags func(ctx context.Context) ([]Tag, error) + SetConfigEntry func(ctx context.Context, arg SetConfigEntryParams) (ConfigEntry, error) + SetIndexerTags func(ctx context.Context, indexerID string) error + SetServiceTags func(ctx context.Context, serviceID string) error + Subscribe func(ctx context.Context, arg SubscribeParams) error + Unsubscribe func(ctx context.Context, arg UnsubscribeParams) error + UpdateDownloadClient func(ctx context.Context, arg UpdateDownloadClientParams) (DownloadClient, error) + UpdateFilterPreset func(ctx context.Context, arg UpdateFilterPresetParams) (FilterPreset, error) + UpdateIndexer func(ctx context.Context, arg UpdateIndexerParams) (Indexer, error) + UpdateQualityProfile func(ctx context.Context, arg UpdateQualityProfileParams) (QualityProfile, error) + UpdateService func(ctx context.Context, arg UpdateServiceParams) (Service, error) + UpdateServiceHeartbeat func(ctx context.Context, arg UpdateServiceHeartbeatParams) error + UpdateServiceStatus func(ctx context.Context, arg UpdateServiceStatusParams) error + UpdateSharedMediaHandling func(ctx context.Context, arg UpdateSharedMediaHandlingParams) (SharedMediaHandling, error) + UpdateTag func(ctx context.Context, arg UpdateTagParams) (Tag, error) + UpsertFilterPreset func(ctx context.Context, arg UpsertFilterPresetParams) (FilterPreset, error) + type Queries struct + func New(db DBTX) *Queries + func (q *Queries) AddCapability(ctx context.Context, arg AddCapabilityParams) error + func (q *Queries) AddIndexerTag(ctx context.Context, arg AddIndexerTagParams) error + func (q *Queries) AddServiceTag(ctx context.Context, arg AddServiceTagParams) error + func (q *Queries) CountIndexersForTag(ctx context.Context, tagID string) (int64, error) + func (q *Queries) CountServicesByType(ctx context.Context, type_ string) (int64, error) + func (q *Queries) CountServicesForTag(ctx context.Context, tagID string) (int64, error) + func (q *Queries) CreateAssignment(ctx context.Context, arg CreateAssignmentParams) (IndexerAssignment, error) + func (q *Queries) CreateDownloadClient(ctx context.Context, arg CreateDownloadClientParams) (DownloadClient, error) + func (q *Queries) CreateFilterPreset(ctx context.Context, arg CreateFilterPresetParams) (FilterPreset, error) + func (q *Queries) CreateIndexer(ctx context.Context, arg CreateIndexerParams) (Indexer, error) + func (q *Queries) CreateQualityProfile(ctx context.Context, arg CreateQualityProfileParams) (QualityProfile, error) + func (q *Queries) CreateService(ctx context.Context, arg CreateServiceParams) (Service, error) + func (q *Queries) CreateTag(ctx context.Context, arg CreateTagParams) (Tag, error) + func (q *Queries) DeleteAssignment(ctx context.Context, arg DeleteAssignmentParams) error + func (q *Queries) DeleteAssignmentsByIndexer(ctx context.Context, indexerID string) error + func (q *Queries) DeleteAssignmentsByService(ctx context.Context, serviceID string) error + func (q *Queries) DeleteCapabilities(ctx context.Context, serviceID string) error + func (q *Queries) DeleteConfigEntry(ctx context.Context, arg DeleteConfigEntryParams) error + func (q *Queries) DeleteConfigNamespace(ctx context.Context, namespace string) error + func (q *Queries) DeleteDownloadClient(ctx context.Context, id string) error + func (q *Queries) DeleteFilterPreset(ctx context.Context, id string) error + func (q *Queries) DeleteFilterPresetByName(ctx context.Context, name string) error + func (q *Queries) DeleteIndexer(ctx context.Context, id string) error + func (q *Queries) DeleteQualityProfile(ctx context.Context, id string) error + func (q *Queries) DeleteService(ctx context.Context, id string) error + func (q *Queries) DeleteSubscriptionsByService(ctx context.Context, serviceID string) error + func (q *Queries) DeleteTag(ctx context.Context, id string) error + func (q *Queries) GetAssignmentOverrides(ctx context.Context, arg GetAssignmentOverridesParams) (string, error) + func (q *Queries) GetConfigEntry(ctx context.Context, arg GetConfigEntryParams) (ConfigEntry, error) + func (q *Queries) GetDownloadClient(ctx context.Context, id string) (DownloadClient, error) + func (q *Queries) GetFilterPreset(ctx context.Context, id string) (FilterPreset, error) + func (q *Queries) GetFilterPresetByName(ctx context.Context, name string) (FilterPreset, error) + func (q *Queries) GetIndexer(ctx context.Context, id string) (Indexer, error) + func (q *Queries) GetQualityProfile(ctx context.Context, id string) (QualityProfile, error) + func (q *Queries) GetService(ctx context.Context, id string) (Service, error) + func (q *Queries) GetServiceByNameAndType(ctx context.Context, arg GetServiceByNameAndTypeParams) (Service, error) + func (q *Queries) GetSharedMediaHandling(ctx context.Context) (SharedMediaHandling, error) + func (q *Queries) GetTag(ctx context.Context, id string) (Tag, error) + func (q *Queries) GetTagByName(ctx context.Context, name string) (Tag, error) + func (q *Queries) ListAllConfig(ctx context.Context) ([]ConfigEntry, error) + func (q *Queries) ListAssignmentsByIndexer(ctx context.Context, indexerID string) ([]IndexerAssignment, error) + func (q *Queries) ListAssignmentsByService(ctx context.Context, serviceID string) ([]IndexerAssignment, error) + func (q *Queries) ListCapabilities(ctx context.Context, serviceID string) ([]string, error) + func (q *Queries) ListConfigByNamespace(ctx context.Context, namespace string) ([]ConfigEntry, error) + func (q *Queries) ListConfigNamespaces(ctx context.Context) ([]string, error) + func (q *Queries) ListDownloadClients(ctx context.Context) ([]DownloadClient, error) + func (q *Queries) ListDownloadClientsByProtocol(ctx context.Context, protocol string) ([]DownloadClient, error) + func (q *Queries) ListEnabledDownloadClients(ctx context.Context) ([]DownloadClient, error) + func (q *Queries) ListEnabledIndexers(ctx context.Context) ([]Indexer, error) + func (q *Queries) ListFilterPresets(ctx context.Context) ([]FilterPreset, error) + func (q *Queries) ListIndexerTagIDs(ctx context.Context, indexerID string) ([]string, error) + func (q *Queries) ListIndexers(ctx context.Context) ([]Indexer, error) + func (q *Queries) ListIndexersForService(ctx context.Context, serviceID string) ([]Indexer, error) + func (q *Queries) ListOnlineServices(ctx context.Context) ([]Service, error) + func (q *Queries) ListQualityProfiles(ctx context.Context) ([]QualityProfile, error) + func (q *Queries) ListServiceTagIDs(ctx context.Context, serviceID string) ([]string, error) + func (q *Queries) ListServices(ctx context.Context) ([]Service, error) + func (q *Queries) ListServicesByCapability(ctx context.Context, capability string) ([]Service, error) + func (q *Queries) ListServicesByType(ctx context.Context, type_ string) ([]Service, error) + func (q *Queries) ListSubscribersByNamespace(ctx context.Context, namespace string) ([]Service, error) + func (q *Queries) ListSubscriptionsByService(ctx context.Context, serviceID string) ([]string, error) + func (q *Queries) ListTags(ctx context.Context) ([]Tag, error) + func (q *Queries) SetConfigEntry(ctx context.Context, arg SetConfigEntryParams) (ConfigEntry, error) + func (q *Queries) SetIndexerTags(ctx context.Context, indexerID string) error + func (q *Queries) SetServiceTags(ctx context.Context, serviceID string) error + func (q *Queries) Subscribe(ctx context.Context, arg SubscribeParams) error + func (q *Queries) Unsubscribe(ctx context.Context, arg UnsubscribeParams) error + func (q *Queries) UpdateDownloadClient(ctx context.Context, arg UpdateDownloadClientParams) (DownloadClient, error) + func (q *Queries) UpdateFilterPreset(ctx context.Context, arg UpdateFilterPresetParams) (FilterPreset, error) + func (q *Queries) UpdateIndexer(ctx context.Context, arg UpdateIndexerParams) (Indexer, error) + func (q *Queries) UpdateQualityProfile(ctx context.Context, arg UpdateQualityProfileParams) (QualityProfile, error) + func (q *Queries) UpdateService(ctx context.Context, arg UpdateServiceParams) (Service, error) + func (q *Queries) UpdateServiceHeartbeat(ctx context.Context, arg UpdateServiceHeartbeatParams) error + func (q *Queries) UpdateServiceStatus(ctx context.Context, arg UpdateServiceStatusParams) error + func (q *Queries) UpdateSharedMediaHandling(ctx context.Context, arg UpdateSharedMediaHandlingParams) (SharedMediaHandling, error) + func (q *Queries) UpdateTag(ctx context.Context, arg UpdateTagParams) (Tag, error) + func (q *Queries) UpsertFilterPreset(ctx context.Context, arg UpsertFilterPresetParams) (FilterPreset, error) + func (q *Queries) WithTx(tx *sql.Tx) *Queries + type Service struct + ApiKey string + ApiUrl string + HealthUrl string + ID string + LastSeen string + Metadata string + Name string + Registered string + Status string + Type string + Version string + type ServiceCapability struct + Capability string + ID string + ServiceID string + type ServiceTag struct + ServiceID string + TagID string + type SetConfigEntryParams struct + ID string + Key string + Namespace string + UpdatedAt string + Value string + type SharedMediaHandling struct + ColonReplacement string + ExtraFileExtensions string + ID int32 + ImportExtraFiles bool + RenameFiles bool + UpdatedAt string + type SubscribeParams struct + ID string + Namespace string + ServiceID string + type Tag struct + ID string + Name string + type UnsubscribeParams struct + Namespace string + ServiceID string + type UpdateDownloadClientParams struct + Category string + Directory string + Enabled bool + Host string + ID string + Kind string + Name string + Password string + Port int32 + Priority int32 + Protocol string + Settings string + UpdatedAt string + UseSsl bool + Username string + type UpdateFilterPresetParams struct + Filters string + ID string + Name string + UpdatedAt string + type UpdateIndexerParams struct + ApiKey string + Enabled bool + ID string + Kind string + Name string + Priority int32 + Settings string + UpdatedAt string + Url string + type UpdateQualityProfileParams struct + CutoffJson string + ID string + MinCustomFormatScore int32 + Name string + QualitiesJson string + UpdatedAt string + UpgradeAllowed bool + UpgradeUntilCfScore int32 + UpgradeUntilJson sql.NullString + type UpdateServiceHeartbeatParams struct + ID string + LastSeen string + type UpdateServiceParams struct + ApiKey string + ApiUrl string + HealthUrl string + ID string + LastSeen string + Metadata string + Name string + Version string + type UpdateServiceStatusParams struct + ID string + LastSeen string + Status string + type UpdateSharedMediaHandlingParams struct + ColonReplacement string + ExtraFileExtensions string + ImportExtraFiles bool + RenameFiles bool + UpdatedAt string + type UpdateTagParams struct + ID string + Name string + type UpsertFilterPresetParams struct + CreatedAt string + Filters string + ID string + Name string + UpdatedAt string