cloudapi: add azure-cvm image type
Introduce the azure-cvm (confidential VM) in the cloud API.
This commit is contained in:
parent
f1afe0ce26
commit
f6c1709d8d
5 changed files with 226 additions and 212 deletions
|
|
@ -284,6 +284,8 @@ func getDefaultTarget(imageType ImageTypes) (UploadTypes, error) {
|
|||
|
||||
case ImageTypesAzure:
|
||||
fallthrough
|
||||
case ImageTypesAzureCvm:
|
||||
fallthrough
|
||||
case ImageTypesAzureEap7Rhui:
|
||||
fallthrough
|
||||
case ImageTypesAzureRhui:
|
||||
|
|
@ -333,6 +335,7 @@ func targetSupportMap() map[UploadTypes]map[ImageTypes]bool {
|
|||
},
|
||||
UploadTypesAzure: {
|
||||
ImageTypesAzure: true,
|
||||
ImageTypesAzureCvm: true,
|
||||
ImageTypesAzureRhui: true,
|
||||
ImageTypesAzureEap7Rhui: true,
|
||||
ImageTypesAzureSapRhui: true,
|
||||
|
|
@ -350,6 +353,7 @@ func targetSupportMap() map[UploadTypes]map[ImageTypes]bool {
|
|||
ImageTypesAwsHaRhui: true,
|
||||
ImageTypesAwsSapRhui: true,
|
||||
ImageTypesAzure: true,
|
||||
ImageTypesAzureCvm: true,
|
||||
ImageTypesAzureRhui: true,
|
||||
ImageTypesAzureEap7Rhui: true,
|
||||
ImageTypesAzureSapRhui: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue