types: Add new backing image data source type 'export-from-volume'
Longhorn
@@ -653,10 +653,16 @@ type BackingImageDataSourceType string
const (
BackingImageDataSourceTypeDownload = BackingImageDataSourceType("download")
BackingImageDataSourceTypeUpload = BackingImageDataSourceType("upload")
+ BackingImageDataSourceTypeExportFromVolume = BackingImageDataSourceType("export-from-volume")
)
const (
DataSourceTypeDownloadParameterURL = "url"
+ DataSourceTypeExportFromVolumeParameterVolumeName = "volume-name"
+ DataSourceTypeExportFromVolumeParameterExportType = "export-type"
+
+ DataSourceTypeExportFromVolumeParameterExportTypeRAW = "raw"
+ DataSourceTypeExportFromVolumeParameterExportTypeQCOW2 = "qcow2"
)
type BackingImageDataSourceSpec struct {
