mirror of
https://github.com/lxc/incus.git
synced 2026-02-05 09:46:19 +01:00
shared/api: Add field for image type to ImagePost struct
Signed-off-by: Saahir Narang <saahir.narang@gmail.com>
This commit is contained in:
committed by
Stéphane Graber
parent
0943383cfd
commit
05b276dd4b
@@ -57,6 +57,12 @@ type ImagesPost struct {
|
||||
// API extension: image_compression_algorithm
|
||||
CompressionAlgorithm string `json:"compression_algorithm" yaml:"compression_algorithm"`
|
||||
|
||||
// Type of image format
|
||||
// Example: split
|
||||
//
|
||||
// API extension: instance_publish_split
|
||||
Format string `json:"format" yaml:"format"`
|
||||
|
||||
// Aliases to add to the image
|
||||
// Example: [{"name": "foo"}, {"name": "bar"}]
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user