mirror of
https://github.com/lxc/incus
synced 2026-08-02 05:26:46 +00:00
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:
parent
ab062097ff
commit
e18e63c38e
@ -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
|
||||
}
|
||||
|
||||
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user