Documentation
¶
Index ¶
- type AddCapabilityParams
- type AddIndexerTagParams
- type AddServiceTagParams
- type ConfigEntry
- type ConfigSubscription
- type CreateAssignmentParams
- type CreateDownloadClientParams
- type CreateFilterPresetParams
- type CreateIndexerParams
- type CreateQualityProfileParams
- type CreateServiceParams
- type CreateTagParams
- type DBTX
- type DeleteAssignmentParams
- type DeleteConfigEntryParams
- type DownloadClient
- type FilterPreset
- type GetAssignmentOverridesParams
- type GetConfigEntryParams
- type GetServiceByNameAndTypeParams
- type Indexer
- type IndexerAssignment
- type IndexerTag
- type QualityProfile
- type Querier
- type 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
- type ServiceCapability
- type ServiceTag
- type SetConfigEntryParams
- type SharedMediaHandling
- type SubscribeParams
- type Tag
- type UnsubscribeParams
- type UpdateDownloadClientParams
- type UpdateFilterPresetParams
- type UpdateIndexerParams
- type UpdateQualityProfileParams
- type UpdateServiceHeartbeatParams
- type UpdateServiceParams
- type UpdateServiceStatusParams
- type UpdateSharedMediaHandlingParams
- type UpdateTagParams
- type UpsertFilterPresetParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddCapabilityParams ¶
type AddIndexerTagParams ¶
type AddServiceTagParams ¶
type ConfigEntry ¶
type ConfigSubscription ¶
type CreateAssignmentParams ¶
type CreateDownloadClientParams ¶
type CreateDownloadClientParams struct {
ID string `json:"id"`
Name string `json:"name"`
Kind string `json:"kind"`
Protocol string `json:"protocol"`
Enabled bool `json:"enabled"`
Priority int32 `json:"priority"`
Host string `json:"host"`
Port int32 `json:"port"`
UseSsl bool `json:"useSsl"`
Username string `json:"username"`
Password string `json:"password"`
Category string `json:"category"`
Directory string `json:"directory"`
Settings string `json:"settings"`
CreatedAt string `json:"createdAt"`
UpdatedAt string `json:"updatedAt"`
}
type CreateIndexerParams ¶
type CreateIndexerParams struct {
ID string `json:"id"`
Name string `json:"name"`
Kind string `json:"kind"`
Enabled bool `json:"enabled"`
Priority int32 `json:"priority"`
Url string `json:"url"`
ApiKey string `json:"apiKey"`
Settings string `json:"settings"`
CreatedAt string `json:"createdAt"`
UpdatedAt string `json:"updatedAt"`
}
type CreateQualityProfileParams ¶
type CreateQualityProfileParams struct {
ID string `json:"id"`
Name string `json:"name"`
CutoffJson string `json:"cutoffJson"`
QualitiesJson string `json:"qualitiesJson"`
UpgradeAllowed bool `json:"upgradeAllowed"`
UpgradeUntilJson sql.NullString `json:"upgradeUntilJson"`
MinCustomFormatScore int32 `json:"minCustomFormatScore"`
UpgradeUntilCfScore int32 `json:"upgradeUntilCfScore"`
CreatedAt string `json:"createdAt"`
UpdatedAt string `json:"updatedAt"`
}
type CreateServiceParams ¶
type CreateServiceParams struct {
ID string `json:"id"`
Name string `json:"name"`
Type string `json:"type"`
ApiUrl string `json:"apiUrl"`
ApiKey string `json:"apiKey"`
HealthUrl string `json:"healthUrl"`
Version string `json:"version"`
Status string `json:"status"`
LastSeen string `json:"lastSeen"`
Registered string `json:"registered"`
Metadata string `json:"metadata"`
}
type CreateTagParams ¶
type DeleteAssignmentParams ¶
type DeleteConfigEntryParams ¶
type DownloadClient ¶
type DownloadClient struct {
ID string `json:"id"`
Name string `json:"name"`
Kind string `json:"kind"`
Protocol string `json:"protocol"`
Enabled bool `json:"enabled"`
Priority int32 `json:"priority"`
Host string `json:"host"`
Port int32 `json:"port"`
UseSsl bool `json:"useSsl"`
Username string `json:"username"`
Password string `json:"password"`
Category string `json:"category"`
Directory string `json:"directory"`
Settings string `json:"settings"`
CreatedAt string `json:"createdAt"`
UpdatedAt string `json:"updatedAt"`
}
type FilterPreset ¶
type GetConfigEntryParams ¶
type Indexer ¶
type Indexer struct {
ID string `json:"id"`
Name string `json:"name"`
Kind string `json:"kind"`
Enabled bool `json:"enabled"`
Priority int32 `json:"priority"`
Url string `json:"url"`
ApiKey string `json:"apiKey"`
Settings string `json:"settings"`
CreatedAt string `json:"createdAt"`
UpdatedAt string `json:"updatedAt"`
}
type IndexerAssignment ¶
type IndexerTag ¶
type QualityProfile ¶
type QualityProfile struct {
ID string `json:"id"`
Name string `json:"name"`
CutoffJson string `json:"cutoffJson"`
QualitiesJson string `json:"qualitiesJson"`
UpgradeAllowed bool `json:"upgradeAllowed"`
UpgradeUntilJson sql.NullString `json:"upgradeUntilJson"`
MinCustomFormatScore int32 `json:"minCustomFormatScore"`
UpgradeUntilCfScore int32 `json:"upgradeUntilCfScore"`
CreatedAt string `json:"createdAt"`
UpdatedAt string `json:"updatedAt"`
}
type Querier ¶
type Querier interface {
// Capabilities
AddCapability(ctx context.Context, arg AddCapabilityParams) error
AddIndexerTag(ctx context.Context, arg AddIndexerTagParams) error
AddServiceTag(ctx context.Context, arg AddServiceTagParams) error
CountIndexersForTag(ctx context.Context, tagID string) (int64, error)
CountServicesByType(ctx context.Context, type_ string) (int64, error)
// Counts
CountServicesForTag(ctx context.Context, tagID string) (int64, error)
// Assignments
CreateAssignment(ctx context.Context, arg CreateAssignmentParams) (IndexerAssignment, error)
CreateDownloadClient(ctx context.Context, arg CreateDownloadClientParams) (DownloadClient, error)
CreateFilterPreset(ctx context.Context, arg CreateFilterPresetParams) (FilterPreset, error)
CreateIndexer(ctx context.Context, arg CreateIndexerParams) (Indexer, error)
CreateQualityProfile(ctx context.Context, arg CreateQualityProfileParams) (QualityProfile, error)
CreateService(ctx context.Context, arg CreateServiceParams) (Service, error)
CreateTag(ctx context.Context, arg CreateTagParams) (Tag, error)
DeleteAssignment(ctx context.Context, arg DeleteAssignmentParams) error
DeleteAssignmentsByIndexer(ctx context.Context, indexerID string) error
DeleteAssignmentsByService(ctx context.Context, serviceID string) error
DeleteCapabilities(ctx context.Context, serviceID string) error
DeleteConfigEntry(ctx context.Context, arg DeleteConfigEntryParams) error
DeleteConfigNamespace(ctx context.Context, namespace string) error
DeleteDownloadClient(ctx context.Context, id string) error
DeleteFilterPreset(ctx context.Context, id string) error
DeleteFilterPresetByName(ctx context.Context, name string) error
DeleteIndexer(ctx context.Context, id string) error
DeleteQualityProfile(ctx context.Context, id string) error
DeleteService(ctx context.Context, id string) error
DeleteSubscriptionsByService(ctx context.Context, serviceID string) error
DeleteTag(ctx context.Context, id string) error
GetAssignmentOverrides(ctx context.Context, arg GetAssignmentOverridesParams) (string, error)
GetConfigEntry(ctx context.Context, arg GetConfigEntryParams) (ConfigEntry, error)
GetDownloadClient(ctx context.Context, id string) (DownloadClient, error)
GetFilterPreset(ctx context.Context, id string) (FilterPreset, error)
GetFilterPresetByName(ctx context.Context, name string) (FilterPreset, error)
GetIndexer(ctx context.Context, id string) (Indexer, error)
GetQualityProfile(ctx context.Context, id string) (QualityProfile, error)
GetService(ctx context.Context, id string) (Service, error)
GetServiceByNameAndType(ctx context.Context, arg GetServiceByNameAndTypeParams) (Service, error)
GetTag(ctx context.Context, id string) (Tag, error)
GetTagByName(ctx context.Context, name string) (Tag, error)
ListAllConfig(ctx context.Context) ([]ConfigEntry, error)
ListAssignmentsByIndexer(ctx context.Context, indexerID string) ([]IndexerAssignment, error)
ListAssignmentsByService(ctx context.Context, serviceID string) ([]IndexerAssignment, error)
ListCapabilities(ctx context.Context, serviceID string) ([]string, error)
ListConfigByNamespace(ctx context.Context, namespace string) ([]ConfigEntry, error)
ListConfigNamespaces(ctx context.Context) ([]string, error)
ListDownloadClients(ctx context.Context) ([]DownloadClient, error)
ListDownloadClientsByProtocol(ctx context.Context, protocol string) ([]DownloadClient, error)
ListEnabledDownloadClients(ctx context.Context) ([]DownloadClient, error)
ListEnabledIndexers(ctx context.Context) ([]Indexer, error)
ListFilterPresets(ctx context.Context) ([]FilterPreset, error)
ListIndexerTagIDs(ctx context.Context, indexerID string) ([]string, error)
ListIndexers(ctx context.Context) ([]Indexer, error)
ListIndexersForService(ctx context.Context, serviceID string) ([]Indexer, error)
ListOnlineServices(ctx context.Context) ([]Service, error)
ListQualityProfiles(ctx context.Context) ([]QualityProfile, error)
ListServiceTagIDs(ctx context.Context, serviceID string) ([]string, error)
ListServices(ctx context.Context) ([]Service, error)
ListServicesByCapability(ctx context.Context, capability string) ([]Service, error)
ListServicesByType(ctx context.Context, type_ string) ([]Service, error)
ListSubscribersByNamespace(ctx context.Context, namespace string) ([]Service, error)
ListSubscriptionsByService(ctx context.Context, serviceID string) ([]string, error)
ListTags(ctx context.Context) ([]Tag, error)
SetConfigEntry(ctx context.Context, arg SetConfigEntryParams) (ConfigEntry, error)
// Indexer tags
SetIndexerTags(ctx context.Context, indexerID string) error
// Service tags
SetServiceTags(ctx context.Context, serviceID string) error
// Subscriptions
Subscribe(ctx context.Context, arg SubscribeParams) error
Unsubscribe(ctx context.Context, arg UnsubscribeParams) error
UpdateDownloadClient(ctx context.Context, arg UpdateDownloadClientParams) (DownloadClient, error)
UpdateFilterPreset(ctx context.Context, arg UpdateFilterPresetParams) (FilterPreset, error)
UpdateIndexer(ctx context.Context, arg UpdateIndexerParams) (Indexer, error)
UpdateQualityProfile(ctx context.Context, arg UpdateQualityProfileParams) (QualityProfile, error)
UpdateService(ctx context.Context, arg UpdateServiceParams) (Service, error)
UpdateServiceHeartbeat(ctx context.Context, arg UpdateServiceHeartbeatParams) error
UpdateServiceStatus(ctx context.Context, arg UpdateServiceStatusParams) error
UpdateTag(ctx context.Context, arg UpdateTagParams) (Tag, error)
UpsertFilterPreset(ctx context.Context, arg UpsertFilterPresetParams) (FilterPreset, error)
}
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) AddCapability ¶
func (q *Queries) AddCapability(ctx context.Context, arg AddCapabilityParams) error
Capabilities
func (*Queries) AddIndexerTag ¶
func (q *Queries) AddIndexerTag(ctx context.Context, arg AddIndexerTagParams) error
func (*Queries) AddServiceTag ¶
func (q *Queries) AddServiceTag(ctx context.Context, arg AddServiceTagParams) error
func (*Queries) CountIndexersForTag ¶
func (*Queries) CountServicesByType ¶
func (*Queries) CountServicesForTag ¶
Counts
func (*Queries) CreateAssignment ¶
func (q *Queries) CreateAssignment(ctx context.Context, arg CreateAssignmentParams) (IndexerAssignment, error)
Assignments
func (*Queries) CreateDownloadClient ¶
func (q *Queries) CreateDownloadClient(ctx context.Context, arg CreateDownloadClientParams) (DownloadClient, error)
func (*Queries) CreateFilterPreset ¶
func (q *Queries) CreateFilterPreset(ctx context.Context, arg CreateFilterPresetParams) (FilterPreset, error)
func (*Queries) CreateIndexer ¶
func (*Queries) CreateQualityProfile ¶
func (q *Queries) CreateQualityProfile(ctx context.Context, arg CreateQualityProfileParams) (QualityProfile, error)
func (*Queries) CreateService ¶
func (*Queries) DeleteAssignment ¶
func (q *Queries) DeleteAssignment(ctx context.Context, arg DeleteAssignmentParams) error
func (*Queries) DeleteAssignmentsByIndexer ¶
func (*Queries) DeleteAssignmentsByService ¶
func (*Queries) DeleteCapabilities ¶
func (*Queries) DeleteConfigEntry ¶
func (q *Queries) DeleteConfigEntry(ctx context.Context, arg DeleteConfigEntryParams) error
func (*Queries) DeleteConfigNamespace ¶
func (*Queries) DeleteDownloadClient ¶
func (*Queries) DeleteFilterPreset ¶
func (*Queries) DeleteFilterPresetByName ¶
func (*Queries) DeleteIndexer ¶
func (*Queries) DeleteQualityProfile ¶
func (*Queries) DeleteService ¶
func (*Queries) DeleteSubscriptionsByService ¶
func (*Queries) GetAssignmentOverrides ¶
func (*Queries) GetConfigEntry ¶
func (q *Queries) GetConfigEntry(ctx context.Context, arg GetConfigEntryParams) (ConfigEntry, error)
func (*Queries) GetDownloadClient ¶
func (*Queries) GetFilterPreset ¶
func (*Queries) GetFilterPresetByName ¶
func (*Queries) GetIndexer ¶
func (*Queries) GetQualityProfile ¶
func (*Queries) GetService ¶
func (*Queries) GetServiceByNameAndType ¶
func (*Queries) GetSharedMediaHandling ¶
func (q *Queries) GetSharedMediaHandling(ctx context.Context) (SharedMediaHandling, error)
func (*Queries) GetTagByName ¶
func (*Queries) ListAllConfig ¶
func (q *Queries) ListAllConfig(ctx context.Context) ([]ConfigEntry, error)
func (*Queries) ListAssignmentsByIndexer ¶
func (*Queries) ListAssignmentsByService ¶
func (*Queries) ListCapabilities ¶
func (*Queries) ListConfigByNamespace ¶
func (*Queries) ListConfigNamespaces ¶
func (*Queries) ListDownloadClients ¶
func (q *Queries) ListDownloadClients(ctx context.Context) ([]DownloadClient, error)
func (*Queries) ListDownloadClientsByProtocol ¶
func (*Queries) ListEnabledDownloadClients ¶
func (q *Queries) ListEnabledDownloadClients(ctx context.Context) ([]DownloadClient, error)
func (*Queries) ListEnabledIndexers ¶
func (*Queries) ListFilterPresets ¶
func (q *Queries) ListFilterPresets(ctx context.Context) ([]FilterPreset, error)
func (*Queries) ListIndexerTagIDs ¶
func (*Queries) ListIndexers ¶
func (*Queries) ListIndexersForService ¶
func (*Queries) ListOnlineServices ¶
func (*Queries) ListQualityProfiles ¶
func (q *Queries) ListQualityProfiles(ctx context.Context) ([]QualityProfile, error)
func (*Queries) ListServiceTagIDs ¶
func (*Queries) ListServices ¶
func (*Queries) ListServicesByCapability ¶
func (*Queries) ListServicesByType ¶
func (*Queries) ListSubscribersByNamespace ¶
func (*Queries) ListSubscriptionsByService ¶
func (*Queries) SetConfigEntry ¶
func (q *Queries) SetConfigEntry(ctx context.Context, arg SetConfigEntryParams) (ConfigEntry, error)
func (*Queries) SetIndexerTags ¶
Indexer tags
func (*Queries) SetServiceTags ¶
Service tags
func (*Queries) Subscribe ¶
func (q *Queries) Subscribe(ctx context.Context, arg SubscribeParams) error
Subscriptions
func (*Queries) Unsubscribe ¶
func (q *Queries) Unsubscribe(ctx context.Context, arg UnsubscribeParams) error
func (*Queries) UpdateDownloadClient ¶
func (q *Queries) UpdateDownloadClient(ctx context.Context, arg UpdateDownloadClientParams) (DownloadClient, error)
func (*Queries) UpdateFilterPreset ¶
func (q *Queries) UpdateFilterPreset(ctx context.Context, arg UpdateFilterPresetParams) (FilterPreset, error)
func (*Queries) UpdateIndexer ¶
func (*Queries) UpdateQualityProfile ¶
func (q *Queries) UpdateQualityProfile(ctx context.Context, arg UpdateQualityProfileParams) (QualityProfile, error)
func (*Queries) UpdateService ¶
func (*Queries) UpdateServiceHeartbeat ¶
func (q *Queries) UpdateServiceHeartbeat(ctx context.Context, arg UpdateServiceHeartbeatParams) error
func (*Queries) UpdateServiceStatus ¶
func (q *Queries) UpdateServiceStatus(ctx context.Context, arg UpdateServiceStatusParams) error
func (*Queries) UpdateSharedMediaHandling ¶
func (q *Queries) UpdateSharedMediaHandling(ctx context.Context, arg UpdateSharedMediaHandlingParams) (SharedMediaHandling, error)
func (*Queries) UpsertFilterPreset ¶
func (q *Queries) UpsertFilterPreset(ctx context.Context, arg UpsertFilterPresetParams) (FilterPreset, error)
type Service ¶
type Service struct {
ID string `json:"id"`
Name string `json:"name"`
Type string `json:"type"`
ApiUrl string `json:"apiUrl"`
ApiKey string `json:"apiKey"`
HealthUrl string `json:"healthUrl"`
Version string `json:"version"`
Status string `json:"status"`
LastSeen string `json:"lastSeen"`
Registered string `json:"registered"`
Metadata string `json:"metadata"`
}
type ServiceCapability ¶
type ServiceTag ¶
type SetConfigEntryParams ¶
type SharedMediaHandling ¶
type SharedMediaHandling struct {
}
type SubscribeParams ¶
type UnsubscribeParams ¶
type UpdateDownloadClientParams ¶
type UpdateDownloadClientParams struct {
Name string `json:"name"`
Kind string `json:"kind"`
Protocol string `json:"protocol"`
Enabled bool `json:"enabled"`
Priority int32 `json:"priority"`
Host string `json:"host"`
Port int32 `json:"port"`
UseSsl bool `json:"useSsl"`
Username string `json:"username"`
Password string `json:"password"`
Category string `json:"category"`
Directory string `json:"directory"`
Settings string `json:"settings"`
UpdatedAt string `json:"updatedAt"`
ID string `json:"id"`
}
type UpdateIndexerParams ¶
type UpdateQualityProfileParams ¶
type UpdateQualityProfileParams struct {
Name string `json:"name"`
CutoffJson string `json:"cutoffJson"`
QualitiesJson string `json:"qualitiesJson"`
UpgradeAllowed bool `json:"upgradeAllowed"`
UpgradeUntilJson sql.NullString `json:"upgradeUntilJson"`
MinCustomFormatScore int32 `json:"minCustomFormatScore"`
UpgradeUntilCfScore int32 `json:"upgradeUntilCfScore"`
UpdatedAt string `json:"updatedAt"`
ID string `json:"id"`
}
type UpdateServiceParams ¶
type UpdateSharedMediaHandlingParams ¶
type UpdateSharedMediaHandlingParams struct {
}
type UpdateTagParams ¶
Click to show internal directories.
Click to hide internal directories.