1
0
mirror of https://github.com/lxc/incus.git synced 2026-02-05 09:46:19 +01:00

shared/api: Add StorageBucketFull

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
This commit is contained in:
Stéphane Graber
2025-11-27 03:09:37 -05:00
parent 204b247e79
commit 9b23183b52

View File

@@ -34,6 +34,21 @@ type StorageBucketPut struct {
Description string `json:"description" yaml:"description"`
}
// StorageBucketFull is a combination of StorageBucket, StorageBucketBackup and StorageBucketKey.
//
// swagger:model
//
// API extension: storage_bucket_full.
type StorageBucketFull struct {
StorageBucket `yaml:",inline"`
// List of backups.
Backups []StorageBucketBackup `json:"backups" yaml:"backups"`
// List of keys.
Keys []StorageBucketKey `json:"keys" yaml:"keys"`
}
// StorageBucket represents the fields of a storage pool bucket
//
// swagger:model