incusd/db: Add ReferenceID filtering to Config and Device

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
Sponsored-by: https://webdock.io
This commit is contained in:
Stéphane Graber 2026-07-30 01:49:19 -04:00
parent ab062097ff
commit e18e63c38e
No known key found for this signature in database
GPG Key ID: C638974D64792D67
2 changed files with 7 additions and 5 deletions

View File

@ -26,6 +26,7 @@ type Config struct {
// ConfigFilter specifies potential query parameter fields.
type ConfigFilter struct {
Key *string
Value *string
ReferenceID []int
Key *string
Value *string
}

View File

@ -34,9 +34,10 @@ type Device struct {
// DeviceFilter specifies potential query parameter fields.
type DeviceFilter struct {
Name *string
Type *DeviceType
Config *ConfigFilter
ReferenceID []int
Name *string
Type *DeviceType
Config *ConfigFilter
}
// Supported device types.