distro: remove architecture names and use platform enum
Removing the dependence of the manifest package on the distro package to import manifest into distro. Wherever arch names are needed, we use the enums from the platform package instead.
This commit is contained in:
parent
0f925c445c
commit
8f69088af1
31 changed files with 108 additions and 101 deletions
|
|
@ -3,14 +3,14 @@ package platform
|
|||
type Arch uint64
|
||||
type ImageFormat uint64
|
||||
|
||||
const (
|
||||
const ( // architecture enum
|
||||
ARCH_AARCH64 Arch = iota
|
||||
ARCH_PPC64LE
|
||||
ARCH_S390X
|
||||
ARCH_X86_64
|
||||
)
|
||||
|
||||
const (
|
||||
const ( // image format enum
|
||||
FORMAT_UNSET ImageFormat = iota
|
||||
FORMAT_RAW
|
||||
FORMAT_ISO
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue