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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user