weldr/upload: make translations between upload options explicit
The same types are used in the weldr API as internally. We want to avoid sharing serialized types like this, as it easily leads to layering vialotions. For now just make the translation explicity, in a follow-up we will introduce types dedicated to serialization in the weldr API. Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
parent
1bb8f7eee0
commit
440a5acb41
2 changed files with 53 additions and 23 deletions
|
|
@ -2,11 +2,12 @@ package rpmmd_mock
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"sort"
|
||||
"time"
|
||||
|
||||
"github.com/osbuild/osbuild-composer/internal/common"
|
||||
"github.com/osbuild/osbuild-composer/internal/compose"
|
||||
distro_mock "github.com/osbuild/osbuild-composer/internal/mocks/distro"
|
||||
"sort"
|
||||
"time"
|
||||
|
||||
"github.com/google/uuid"
|
||||
"github.com/osbuild/osbuild-composer/internal/blueprint"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue